Class: Aspen::AST::Nodes::Narrative
- Inherits:
-
Object
- Object
- Aspen::AST::Nodes::Narrative
- Defined in:
- lib/aspen/ast/nodes/narrative.rb
Instance Attribute Summary collapse
-
#statements ⇒ Object
readonly
Returns the value of attribute statements.
Instance Method Summary collapse
-
#initialize(statements) ⇒ Narrative
constructor
A new instance of Narrative.
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
#statements ⇒ Object (readonly)
Returns the value of attribute statements.
6 7 8 |
# File 'lib/aspen/ast/nodes/narrative.rb', line 6 def statements @statements end |