Class: Object

Inherits:
BasicObject
Defined in:
lib/rbyaml.rb

Instance Method Summary collapse

Instance Method Details

#is_complex_yaml?Boolean

Returns:

  • (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_propertiesObject



253
# File 'lib/rbyaml.rb', line 253

def to_yaml_properties; instance_variables.sort; end

#to_yaml_styleObject



252
# File 'lib/rbyaml.rb', line 252

def to_yaml_style; end