Class: Synvert::Core::Rewriter::Scope
- Inherits:
-
Object
- Object
- Synvert::Core::Rewriter::Scope
- Defined in:
- lib/synvert/core/rewriter/scope.rb
Overview
Scope finds out nodes which match rules.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(instance) { ... } ⇒ Scope
constructor
Initialize a Scope.
Constructor Details
#initialize(instance) { ... } ⇒ Scope
Initialize a Scope
10 11 12 13 |
# File 'lib/synvert/core/rewriter/scope.rb', line 10 def initialize(instance, &block) @instance = instance @block = block end |