Class: LHS::Record::Chainable::ErrorHandling
- Defined in:
- lib/lhs/concerns/record/chainable.rb
Overview
ErrorHandling: Catch and resolve errors when resolving the chain
Instance Attribute Summary
Attributes inherited from Link
Instance Method Summary collapse
Methods inherited from Link
Constructor Details
This class inherits a constructor from LHS::Record::Chainable::Link
Instance Method Details
#class ⇒ Object
106 107 108 |
# File 'lib/lhs/concerns/record/chainable.rb', line 106 def class @data.keys.first end |
#handler ⇒ Object
102 103 104 |
# File 'lib/lhs/concerns/record/chainable.rb', line 102 def handler @data.values.first end |