Class: Psych::Visitors::YAMLTree

Inherits:
Object
  • Object
show all
Defined in:
lib/delayed/psych_ext.rb

Instance Method Summary collapse

Instance Method Details

#visit_Class(klass) ⇒ Object



25
26
27
# File 'lib/delayed/psych_ext.rb', line 25

def visit_Class(klass)
  @emitter.scalar klass.name, nil, '!ruby/class', false, false, Nodes::Scalar::SINGLE_QUOTED
end