Class: Gisele::Language::ScopingHelper
- Inherits:
-
Sexpr::Processor::Helper
- Object
- Sexpr::Processor::Helper
- Gisele::Language::ScopingHelper
- Defined in:
- lib/gisele/language/processors/scoping_helper.rb
Defined Under Namespace
Modules: Methods
Instance Method Summary collapse
-
#on_missing(rw, sexpr) ⇒ Object
module Methods.
Instance Method Details
#on_missing(rw, sexpr) ⇒ Object
module Methods
20 21 22 23 24 25 26 27 28 |
# File 'lib/gisele/language/processors/scoping_helper.rb', line 20 def on_missing(rw, sexpr) if sexpr.first.to_s =~ /_def/ rw.with_scope(sexpr) do yield(rw, sexpr) end else yield(rw, sexpr) end end |