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