Method: XDry::Scope#subscope_for
- Defined in:
- lib/xdry/parsing/scopes_support.rb
#subscope_for(node) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/xdry/parsing/scopes_support.rb', line 30 def subscope_for node if subscope_class = self.class.child_subscope_table[node.class] subscope_class.new(self, node) else nil end end |