Class: Setl::Transform
Instance Method Summary collapse
Methods inherited from Delegator
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 |