Sha256: d745ab7832f69120e7fa67fdeb58732bf63c59e8f913ef89c42da12dc1bfbc52

Contents?: true

Size: 359 Bytes

Versions: 112

Compression:

Stored size: 359 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 'psych/y'
end

Version data entries

112 entries across 109 versions & 12 rubygems

Version Path
ory-kratos-client-0.8.0.alpha2 vendor/bundle/ruby/2.5.0/gems/psych-4.0.2/lib/psych/core_ext.rb
psych-4.0.2-java lib/psych/core_ext.rb
psych-4.0.2 lib/psych/core_ext.rb
ory-client-0.0.1.alpha21 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-keto-client-0.7.0.alpha1 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-keto-client-0.7.0.alpha0 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-kratos-client-0.7.6.alpha7 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-kratos-client-0.7.6.alpha6 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-kratos-client-0.7.6.alpha5 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-kratos-client-0.7.6.alpha4 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-kratos-client-0.7.6.alpha3 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-kratos-client-0.7.6.alpha1 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
ory-kratos-client-0.7.5.alpha2 vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb
mx-platform-ruby-0.4.0 vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/core_ext.rb
mx-platform-ruby-0.3.2 vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/core_ext.rb
mx-platform-ruby-0.3.1 vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/core_ext.rb
passbase-1.3.0 vendor/bundle/ruby/2.7.0/gems/psych-3.2.0/lib/psych/core_ext.rb
psych-4.0.1-java lib/psych/core_ext.rb
psych-4.0.1 lib/psych/core_ext.rb
psych-4.0.0-java lib/psych/core_ext.rb