class Psych::Visitors::ToRuby

def revive klass, node

Experimental RBS support (using type sampling data from the type_fusion project).

type Psych__Visitors__ToRuby_revive_return_value = Gem::Requirement | Gem::Dependency | Gem::Version | Gem::Specification

def revive: (Class klass, Psych::Nodes::Mapping node) -> Psych__Visitors__ToRuby_revive_return_value

This signature was generated using 91 samples from 1 application.

def revive klass, node
  s = register(node, klass.allocate)
  init_with(s, revive_hash({}, node, true), node)
end