Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/rbyaml.rb,
lib/rbyaml/util.rb
Instance Method Summary collapse
- #__is_a ⇒ Object
- #__is_int ⇒ Object
- #__is_str ⇒ Object
- #__is_sym ⇒ Object
- #is_complex_yaml? ⇒ Boolean
- #to_yaml(opts = {}) ⇒ Object
- #to_yaml_properties ⇒ Object
- #to_yaml_style ⇒ Object
Instance Method Details
#__is_a ⇒ Object
4 |
# File 'lib/rbyaml/util.rb', line 4 def __is_a; false end |
#__is_int ⇒ Object
5 |
# File 'lib/rbyaml/util.rb', line 5 def __is_int; false end |
#__is_str ⇒ Object
2 |
# File 'lib/rbyaml/util.rb', line 2 def __is_str; false end |
#__is_sym ⇒ Object
3 |
# File 'lib/rbyaml/util.rb', line 3 def __is_sym; false end |
#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 |