Flowdock
method

add_private_type

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: Psych
add_private_type(type_tag, &block) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/psych/lib/psych/deprecated.rb, line 47
  def self.add_private_type type_tag, &block
    warn "#{caller[0]}: add_private_type is deprecated, use add_domain_type" if $VERBOSE
    domain = 'x-private'
    key = [domain, type_tag].join ':'
    @domain_types[key] = [key, block]
  end
Register or log in to add new notes.