Class: Aspen::CustomGrammar::AST::Nodes::Content
- Inherits:
-
Object
- Object
- Aspen::CustomGrammar::AST::Nodes::Content
- Defined in:
- lib/aspen/custom_grammar/ast/nodes/content.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ Content
constructor
A new instance of Content.
Constructor Details
#initialize(content) ⇒ Content
Returns a new instance of Content.
9 10 11 |
# File 'lib/aspen/custom_grammar/ast/nodes/content.rb', line 9 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
7 8 9 |
# File 'lib/aspen/custom_grammar/ast/nodes/content.rb', line 7 def content @content end |