Class: Stark::Parser::AST::Comment
- Defined in:
- lib/stark/ast.rb,
lib/stark/raw_parser.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
- #accept(obj) ⇒ Object
-
#initialize(text) ⇒ Comment
constructor
A new instance of Comment.
Constructor Details
#initialize(text) ⇒ Comment
Returns a new instance of Comment.
359 360 361 |
# File 'lib/stark/raw_parser.rb', line 359 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
362 363 364 |
# File 'lib/stark/raw_parser.rb', line 362 def text @text end |
Instance Method Details
#accept(obj) ⇒ Object
54 55 |
# File 'lib/stark/ast.rb', line 54 def accept(obj) end |