Class: Melbourne::AST::EndData

Inherits:
Node
  • Object
show all
Defined in:
lib/melbourne/ast/data.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, data) ⇒ EndData

Returns a new instance of EndData.



10
11
12
13
# File 'lib/melbourne/ast/data.rb', line 10

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



8
9
10
# File 'lib/melbourne/ast/data.rb', line 8

def data
  @data
end