Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/psych/core_ext.rb,
lib/psych/deprecated.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#psych_to_yaml(options = {}) ⇒ Object
(also: #to_yaml)
call-seq: to_yaml.
-
#to_yaml_properties ⇒ Object
:nodoc:.
Class Method Details
Instance Method Details
#psych_to_yaml(options = {}) ⇒ Object Also known as: to_yaml
call-seq: to_yaml
Convert an object to YAML
12 13 14 |
# File 'lib/psych/core_ext.rb', line 12 def psych_to_yaml = {} Psych.dump self, end |
#to_yaml_properties ⇒ Object
:nodoc:
79 80 81 |
# File 'lib/psych/deprecated.rb', line 79 def to_yaml_properties # :nodoc: instance_variables end |