Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_1_378) is shown here.
add_ruby_type( type_tag, &transfer_proc )
public
Add a transfer method for a builtin
type
# File lib/yaml.rb, line 313
def YAML.add_ruby_type( type_tag, &transfer_proc )
resolver.add_type( "tag:ruby.yaml.org,2002:#{ type_tag }", transfer_proc )
end