Class: Twostroke::AST::This

Inherits:
Base
  • Object
show all
Defined in:
lib/twostroke/ast/this.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Twostroke::AST::Base

Instance Method Details

#collapseObject



3
# File 'lib/twostroke/ast/this.rb', line 3

def collapse; self; end

#walk {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



5
6
7
# File 'lib/twostroke/ast/this.rb', line 5

def walk
  yield self
end