Module: RTM::IO::ToYAML::Variant

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

Instance Method Summary

Instance Method Details

- (Object) to_yaml

Returns the YAML representation of this variant as String.

:call-seq:

  to_yaml -> String


81
82
83
# File 'rtm/lib/rtm/io/to_yaml.rb', line 81

def to_yaml
  to_hash.to_yaml
end