lib/piglet/inout/load.rb in piglet-0.2.5 vs lib/piglet/inout/load.rb in piglet-0.3.0

- old
+ new

@@ -4,12 +4,12 @@ module Inout class Load # :nodoc: include Piglet::Relation::Relation include StorageTypes - def initialize(path, options={}) + def initialize(path, interpreter, options={}) options ||= {} - @path, @using, @schema = path, options[:using], options[:schema] + @path, @interpreter, @using, @schema = path, interpreter, options[:using], options[:schema] end def schema Piglet::Schema::Tuple.parse(@schema) if @schema end \ No newline at end of file