Class: Vertigo::Comment

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept

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

#strObject

Returns the value of attribute str.



28
29
30
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 28

def str
  @str
end