Method: Cond::HandlingSection#handle

Defined in:
lib/cond/handling_section.rb

#handle(sym, message, &block) ⇒ Object



8
9
10
# File 'lib/cond/handling_section.rb', line 8

def handle(sym, message, &block)
  Cond.handlers_stack.last[sym] = Handler.new(message, &block)
end