Class: IntLit
- Inherits:
-
Struct
- Object
- Struct
- IntLit
- Defined in:
- lib/oddb2xml/parslet_compositions.rb
Instance Attribute Summary collapse
-
#int ⇒ Object
Returns the value of attribute int.
Instance Method Summary collapse
Instance Attribute Details
#int ⇒ Object
Returns the value of attribute int
107 108 109 |
# File 'lib/oddb2xml/parslet_compositions.rb', line 107 def int @int end |
Instance Method Details
#eval ⇒ Object
108 |
# File 'lib/oddb2xml/parslet_compositions.rb', line 108 def eval; int.to_i; end |