Method: Micon::Core#after_scope
- Defined in:
- lib/micon/core.rb
#after_scope(sname, options = {}, &block) ⇒ Object
195 196 197 198 199 |
# File 'lib/micon/core.rb', line 195 def after_scope sname, = {}, &block [:bang] = true unless .include? :bang raise_without_self "scope :#{sname} already started!" if [:bang] and active?(sname) .register_after_scope sname, &block end |