BasicObject
# File psych/lib/psych/core_ext.rb, line 3 def self.yaml_tag url Psych.add_tag(url, self) end
Convert an object to YAML. See Psych.dump for more information on the available options.
Psych.dump
options
# File psych/lib/psych/core_ext.rb, line 12 def to_yaml options = {} Psych.dump self, options end
This page was generated for Ruby 3.0.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.42.0.