Class: Object

Inherits:
BasicObject
Defined in:
lib/rbyaml.rb,
lib/rbyaml/util.rb

Instance Method Summary collapse

Instance Method Details

#__is_aObject



4
# File 'lib/rbyaml/util.rb', line 4

def __is_a; false end

#__is_intObject



5
# File 'lib/rbyaml/util.rb', line 5

def __is_int; false end

#__is_strObject



2
# File 'lib/rbyaml/util.rb', line 2

def __is_str; false end

#__is_symObject



3
# File 'lib/rbyaml/util.rb', line 3

def __is_sym; false end

#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