Class: Aspen::AST::Nodes::Narrative

Inherits:
Object
  • Object
show all
Defined in:
lib/aspen/ast/nodes/narrative.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(statements) ⇒ Narrative

Returns a new instance of Narrative.



8
9
10
# File 'lib/aspen/ast/nodes/narrative.rb', line 8

def initialize(statements)
  @statements = statements
end

Instance Attribute Details

#statementsObject (readonly)

Returns the value of attribute statements.



6
7
8
# File 'lib/aspen/ast/nodes/narrative.rb', line 6

def statements
  @statements
end