Class: Rubasteme::AST::NumberNode

Inherits:
LeafNode show all
Defined in:
lib/rubasteme/ast/leaf_node.rb

Instance Attribute Summary

Attributes inherited from LeafNode

#literal

Instance Method Summary collapse

Methods inherited from LeafNode

#to_a

Methods inherited from Node

#to_a, #to_s, #type

Constructor Details

#initialize(literal) ⇒ NumberNode

Returns a new instance of NumberNode.



54
55
56
# File 'lib/rubasteme/ast/leaf_node.rb', line 54

def initialize(literal)
  super
end