Module: RTM::IO::ToYAML::Occurrence

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

Instance Method Summary

Instance Method Details

- (Object) to_yaml

Returns the YAML representation of this occurrence as String.

:call-seq:

  to_yaml -> String


59
60
61
# File 'rtm/lib/rtm/io/to_yaml.rb', line 59

def to_yaml
  to_hash.to_yaml
end