method
psych_yaml_as
v1_9_3_392 -
Show latest stable
- Class:
Module
psych_yaml_as(url)public
No documentation available.
# File ext/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