lib/piglet/relation/stream.rb in piglet-0.2.5 vs lib/piglet/relation/stream.rb in piglet-0.3.0

- old
+ new

@@ -3,10 +3,11 @@ module Piglet module Relation class Stream # :nodoc: include Relation - def initialize(source, args, options=nil) + def initialize(source, interpreter, args, options=nil) + @interpreter = interpreter options ||= {} @sources = [source] args.each do |arg| @sources << arg if arg.is_a?(Relation) || arg.is_a?(Array) end \ No newline at end of file