Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/rbyaml.rb
Instance Method Summary collapse
- #is_complex_yaml? ⇒ Boolean
- #to_yaml(opts = {}) ⇒ Object
- #to_yaml_properties ⇒ Object
- #to_yaml_style ⇒ Object
Instance Method Details
#is_complex_yaml? ⇒ Boolean
251 |
# File 'lib/rbyaml.rb', line 251 def is_complex_yaml?; true; end |
#to_yaml(opts = {}) ⇒ Object
254 255 256 |
# File 'lib/rbyaml.rb', line 254 def to_yaml( opts = {} ) RbYAML::_dump_ruby_object(self) end |
#to_yaml_properties ⇒ Object
253 |
# File 'lib/rbyaml.rb', line 253 def to_yaml_properties; instance_variables.sort; end |
#to_yaml_style ⇒ Object
252 |
# File 'lib/rbyaml.rb', line 252 def to_yaml_style; end |