Module: RTM::IO::ToYAML::TopicMap

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

Instance Method Summary collapse

Instance Method Details

#to_yamlObject

Returns the YAML representation of this topic map as String.

:call-seq:

to_yaml -> String


15
16
17
# File 'lib/rtm/io/to_yaml.rb', line 15

def to_yaml
  to_hash.to_yaml
end