class DHS::Record::Chainable::ErrorHandling

ErrorHandling: Catch and resolve errors when resolving the chain

Public Instance Methods

class() click to toggle source
# File lib/dhs/concerns/record/chainable.rb, line 125
def class
  @data.keys.first
end
handler() click to toggle source
# File lib/dhs/concerns/record/chainable.rb, line 121
def handler
  @data.values.first
end
to_a() click to toggle source
# File lib/dhs/concerns/record/chainable.rb, line 129
def to_a
  [self.class, handler]
end