Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/psych/core_ext.rb,
lib/psych/deprecated.rb
Overview
frozen_string_literal: false
Class Method Summary collapse
Instance Method Summary collapse
-
#psych_to_yaml(options = {}) ⇒ Object
(also: #to_yaml)
call-seq: to_yaml(options = {}).
-
#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(options = {})
Convert an object to YAML. See Psych.dump for more information on the available options
.
14 15 16 |
# File 'lib/psych/core_ext.rb', line 14 def psych_to_yaml = {} Psych.dump self, end |
#to_yaml_properties ⇒ Object
:nodoc:
83 84 85 |
# File 'lib/psych/deprecated.rb', line 83 def to_yaml_properties # :nodoc: instance_variables end |