lib/sypex_geo/pack.rb in sypex_geo-0.2.3 vs lib/sypex_geo/pack.rb in sypex_geo-0.2.4
- old
+ new
@@ -26,11 +26,11 @@
end
def process(vals)
vals.each_with_index.map do |val, i|
if processor = @processors[i]
- name = processor.shift
- args = processor
+ name = processor[0]
+ args = processor[1..-1]
args.unshift(val)
send(name, *args)
else
val
end