Flowdock
method

read_type_class

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Psych
read_type_class(type, reference) 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 60
  def self.read_type_class type, reference
    warn "#{caller[0]}: read_type_class is deprecated" if $VERBOSE
    _, _, type, name = type.split ':', 4

    reference = name.split('::').inject(reference) do |k,n|
      k.const_get(n.to_sym)
    end if name
    [type, reference]
  end
Register or log in to add new notes.