Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • psych/lib/psych/core_ext.rb

Parent

Module

Public Instance Methods

psych_yaml_as(url) click to toggle source
 
               # File psych/lib/psych/core_ext.rb, line 21
def psych_yaml_as url
  return if caller[0].end_with?('rubytypes.rb')
  if $VERBOSE
    warn "#{caller[0]}: yaml_as is deprecated, please use yaml_tag"
  end
  Psych.add_tag(url, self)
end
            
Also aliased as: yaml_as
yaml_as(url) click to toggle source
Alias for: psych_yaml_as