Sha256: 21532f69b1707344e4451bccae4ddb21e608d5bccb88a1ac56ef5b62cda08ebd

Contents?: true

Size: 362 Bytes

Versions: 6165

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true
class Object
  def self.yaml_tag url
    Psych.add_tag(url, self)
  end

  ###
  # call-seq: to_yaml(options = {})
  #
  # Convert an object to YAML.  See Psych.dump for more information on the
  # available +options+.
  def to_yaml options = {}
    Psych.dump self, options
  end
end

if defined?(::IRB)
  require_relative 'y'
end

Version data entries

6,165 entries across 6,165 versions & 19 rubygems

Version Path
cybrid_api_bank_ruby-0.122.41 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_id_ruby-0.122.41 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_id_ruby-0.122.40 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_bank_ruby-0.122.40 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_organization_ruby-0.122.40 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_organization_ruby-0.122.39 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_bank_ruby-0.122.39 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_id_ruby-0.122.39 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_organization_ruby-0.122.38 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_bank_ruby-0.122.38 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_id_ruby-0.122.38 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_bank_ruby-0.122.36 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_id_ruby-0.122.36 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
cybrid_api_organization_ruby-0.122.36 vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/lib/psych/core_ext.rb
psych-5.2.0-java lib/psych/core_ext.rb
psych-5.2.0 lib/psych/core_ext.rb
psych-5.2.0.beta7-java lib/psych/core_ext.rb
psych-5.2.0.beta7 lib/psych/core_ext.rb
psych-5.2.0.beta6 lib/psych/core_ext.rb
psych-5.2.0.beta5 lib/psych/core_ext.rb