Flowdock
method

revive

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: ToRuby
revive(klass, node) private

No documentation

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

Hide source
# File ext/psych/lib/psych/visitors/to_ruby.rb, line 280
      def revive klass, node
        s = klass.allocate
        @st[node.anchor] = s if node.anchor
        h = Hash[*node.children.map { |c| accept c }]
        init_with(s, h, node)
      end
Register or log in to add new notes.