Method: LHS::Record::Chainable::ClassMethods#handle
- Defined in:
- lib/lhs/concerns/record/chainable.rb
#handle(error_class, handler) ⇒ Object
34 35 36 |
# File 'lib/lhs/concerns/record/chainable.rb', line 34 def handle(error_class, handler) Chain.new(self, ErrorHandling.new(error_class => handler)) end |