Class: Twostroke::AST::String
Instance Attribute Summary collapse
-
#string ⇒ Object
Returns the value of attribute string.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Twostroke::AST::Base
Instance Attribute Details
#string ⇒ Object
Returns the value of attribute string.
3 4 5 |
# File 'lib/twostroke/ast/string.rb', line 3 def string @string end |
Instance Method Details
#collapse ⇒ Object
5 6 7 |
# File 'lib/twostroke/ast/string.rb', line 5 def collapse self end |
#walk {|_self| ... } ⇒ Object
9 10 11 |
# File 'lib/twostroke/ast/string.rb', line 9 def walk yield self end |