Class: PersonifyLanguage::Literal

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/personify/parser/personify_node_classes.rb

Instance Method Summary collapse

Instance Method Details

#eval(env = {}) ⇒ Object



62
63
64
# File 'lib/personify/parser/personify_node_classes.rb', line 62

def eval(env={})
  text_value
end

#to_sObject



66
67
68
# File 'lib/personify/parser/personify_node_classes.rb', line 66

def to_s
  text_value
end