Class: Vertigo::Comment
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#str ⇒ Object
Returns the value of attribute str.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(str = nil) ⇒ Comment
constructor
A new instance of Comment.
Methods inherited from AstNode
Constructor Details
#initialize(str = nil) ⇒ Comment
Returns a new instance of Comment.
29 30 31 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 29 def initialize str=nil @str=str end |
Instance Attribute Details
#str ⇒ Object
Returns the value of attribute str.
28 29 30 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 28 def str @str end |