Module: RTM::IO::ToYAML::Variant
- Defined in:
- lib/rtm/io/to_yaml.rb
Instance Method Summary collapse
-
#to_yaml ⇒ Object
Returns the YAML representation of this variant as String.
Instance Method Details
#to_yaml ⇒ Object
Returns the YAML representation of this variant as String.
:call-seq:
to_yaml -> String
81 82 83 |
# File 'lib/rtm/io/to_yaml.rb', line 81 def to_yaml to_hash.to_yaml end |