Permalink
Browse files

Fix Pipeline#transform wrt/ Node#to_a.

  • Loading branch information...
1 parent 03fe710 commit cf49df20d6915662b00ed990ffadd08404632f0c @whitequark committed Dec 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/furnace/transform/pipeline.rb
@@ -5,14 +5,14 @@ def initialize(stages)
@stages = stages
end
- def run(*sequence)
+ def run(target)
@stages.each do |stage|
break if stage.nil?
- sequence = stage.transform *sequence
+ target = stage.transform target
end
- sequence
+ target
end
end
end

0 comments on commit cf49df2

Please sign in to comment.