lib/arc-furnace/block_transform.rb in arc-furnace-0.1.6 vs lib/arc-furnace/block_transform.rb in arc-furnace-0.1.7

- old
+ new

@@ -9,10 +9,14 @@ @block = block super(source: source) end def transform(row) - block.call(row) + if block.arity == 2 + block.call(row, params) + else + block.call(row) + end end end end