Flowdock
method

revive

Importance_0
v1_9_3_125 - Show latest stable - 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 237
      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.