Class: Module (Ruby 2.3.4)

Module

Public Instance Methods

psych_yaml_as(url)
 
               # File psych/lib/psych/core_ext.rb, line 22
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)
Alias for: psych_yaml_as