lib/piglet/relation/sample.rb in piglet-0.2.5 vs lib/piglet/relation/sample.rb in piglet-0.3.0
- old
+ new
@@ -3,11 +3,11 @@
module Piglet
module Relation
class Sample # :nodoc:
include Relation
- def initialize(relation, n)
- @sources, @n = [relation], n
+ def initialize(relation, interpreter, n)
+ @sources, @interpreter, @n = [relation], interpreter, n
end
def to_s
"SAMPLE #{@sources.first.alias} #{@n}"
end
\ No newline at end of file