Class: Vertigo::Waveform

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(elements = []) ⇒ Waveform

Returns a new instance of Waveform.



463
464
465
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 463

def initialize elements=[]
  @elements=elements
end

Instance Attribute Details

#elementsObject

Returns the value of attribute elements.



462
463
464
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 462

def elements
  @elements
end