Class: Aspen::AST::Nodes::Content
- Inherits:
-
Object
- Object
- Aspen::AST::Nodes::Content
- Defined in:
- lib/aspen/ast/nodes/content.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
(also: #inner_content)
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.
8 9 10 |
# File 'lib/aspen/ast/nodes/content.rb', line 8 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly) Also known as: inner_content
Returns the value of attribute content.
6 7 8 |
# File 'lib/aspen/ast/nodes/content.rb', line 6 def content @content end |