Class: RubyRTL::Comment

Inherits:
Ast
  • Object
show all
Defined in:
lib/ruby_rtl/ast.rb

Instance Attribute Summary collapse

Attributes inherited from Ast

#comments

Instance Method Summary collapse

Methods inherited from Ast

#accept

Constructor Details

#initialize(str) ⇒ Comment

Returns a new instance of Comment.



34
35
36
# File 'lib/ruby_rtl/ast.rb', line 34

def initialize str
  @str=str
end

Instance Attribute Details

#strObject

Returns the value of attribute str.



33
34
35
# File 'lib/ruby_rtl/ast.rb', line 33

def str
  @str
end