Class: Setl::Transform

Inherits:
Delegator show all
Defined in:
lib/setl/delegates.rb

Instance Method Summary collapse

Methods inherited from Delegator

#initialize

Constructor Details

This class inherits a constructor from Setl::Delegator

Instance Method Details

#call(row, &block) ⇒ Object



29
30
31
32
33
# File 'lib/setl/delegates.rb', line 29

def call(row, &block)
  item.call(row, &block)
rescue StandardError => e
  error_handler.(ProcessingError.new(row, "Failed to process #{row}", e))
end