Method: AngryMob::Target::Defaults#method_missing
- Defined in:
- lib/angry_mob/target/defaults.rb
#method_missing(method, *args, &blk) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/angry_mob/target/defaults.rb', line 13 def method_missing(method, *args, &blk) @contexts[method] << args.first if block_given? yield @contexts[method].pop end end |