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

- old
+ new

@@ -3,11 +3,11 @@ module Piglet module Relation class Union # :nodoc: include Relation - def initialize(*relations) - @sources = [relations].flatten + def initialize(relations, interpreter) + @sources, @interpreter = relations, interpreter end def to_s "UNION #{source_aliases.join(', ')}" end \ No newline at end of file