Class: Melbourne::AST::ToArray

Inherits:
Node
  • Object
show all
Defined in:
lib/melbourne/ast/values.rb

Overview

TODO: document!

Instance Attribute Summary collapse

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from Node

#ascii_graph

Constructor Details

#initialize(line, value) ⇒ ToArray

Returns a new instance of ToArray.



53
54
55
56
# File 'lib/melbourne/ast/values.rb', line 53

def initialize(line, value)
  @line = line
  @value = value
end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



51
52
53
# File 'lib/melbourne/ast/values.rb', line 51

def value
  @value
end