Class: Psych::Nodes::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/blaml/to_ruby.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#metaObject

Metadata accessor.



47
48
49
# File 'lib/blaml/to_ruby.rb', line 47

def meta
  @meta
end

Instance Method Details

#to_blamed_rubyObject

Tells Psych nodes to use Blaml::ToRuby.



52
53
54
# File 'lib/blaml/to_ruby.rb', line 52

def to_blamed_ruby
  Blaml::ToRuby.new.accept self
end