Module: KeisanArray
- Included in:
- Array
- Defined in:
- lib/keisan/ast.rb
Instance Method Summary collapse
Instance Method Details
#to_node ⇒ Object
63 64 65 |
# File 'lib/keisan/ast.rb', line 63 def to_node Keisan::AST::List.new(map {|n| n.to_node}) end |
#value(context = nil) ⇒ Object
67 68 69 |
# File 'lib/keisan/ast.rb', line 67 def value(context = nil) self end |