lib/yaks/pipeline.rb in yaks-0.9.0 vs lib/yaks/pipeline.rb in yaks-0.10.0
- old
+ new
@@ -26,15 +26,15 @@
self.class.new(new_steps)
end
def transitive?
- steps.all? {|name, step| step.respond_to?(:transitive?) && step.transitive?}
+ steps.all? {|_name, step| step.respond_to?(:transitive?) && step.transitive?}
end
def inverse
unless transitive?
- raise RuntimeError, "Unable to get inverse pipeline, not all pipeline steps are transitive."
+ raise "Unable to get inverse pipeline, not all pipeline steps are transitive."
end
self.class.new(steps.map {|name, step| [name, step.inverse]}.reverse)
end
end