Module: RTM::IO::TOJTM::TopicMap

Defined in:
rtm/lib/rtm/io/to_jtm.rb

Instance Method Summary

Instance Method Details

- (Object) to_jtm_str

Returns the JTM representation of this RTM::TopicMap



16
17
18
19
20
21
# File 'rtm/lib/rtm/io/to_jtm.rb', line 16

def to_jtm_str          
  h = to_hash
  h[:version] = "1.0"
  h[:item_type] = "topicmap"
  h.to_json
end