Module: RTM::IO::ToYAML::Topic

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

Instance Method Summary

Instance Method Details

- (Object) to_yaml

Returns the YAML representation of this topic as String.

:call-seq:

  to_yaml -> String


26
27
28
# File 'rtm/lib/rtm/io/to_yaml.rb', line 26

def to_yaml
  to_hash.to_yaml
end