lib/rom/changeset/pipe.rb in rom-changeset-1.0.0.beta2 vs lib/rom/changeset/pipe.rb in rom-changeset-1.0.0.beta3

- old
+ new

@@ -74,19 +74,11 @@ else data end end - def with(opts) - if opts.empty? - self - else - Pipe.new(processor, options.merge(opts)) - end - end - def new(processor, opts = EMPTY_HASH) - Pipe.new(processor, options.merge(opts)) + Pipe.new(processor, opts.empty? ? options : options.merge(opts)) end end end end