Class: Module
Instance Method Summary collapse
- #psych_yaml_as(url) ⇒ Object (also: #yaml_as)
Instance Method Details
#psych_yaml_as(url) ⇒ Object Also known as: yaml_as
21 22 23 24 25 26 27 |
# File '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 |