Class: Trope::Language::IntegerLiteral
Overview
An integer.
Instance Method Summary collapse
-
#value ⇒ Object
The value as a Ruby object.
Methods inherited from Node
#elements, #elements_with_treetop_nodes
Instance Method Details
#value ⇒ Object
The value as a Ruby object.
10 11 12 |
# File 'lib/trope/language/integer_literal.rb', line 10 def value super.to_i end |