lib/etl/transform/decode_transform.rb in activewarehouse-etl-0.6.1 vs lib/etl/transform/decode_transform.rb in activewarehouse-etl-0.7.0

- old
+ new

@@ -12,10 +12,10 @@ # # Configuration options: # * <tt>:decode_table_path</tt>: The path to the decode table (defaults to 'decode.txt') # * <tt>:decode_table_delimiter</tt>: The decode table delimiter (defaults to ':') # * <tt>:default_value</tt>: The default value to use (defaults to 'No Value') - def initialize(control, configuration={}) + def initialize(control, name, configuration={}) super if configuration[:decode_table_path] configuration[:decode_table_path] = File.join(File.dirname(control.file), configuration[:decode_table_path]) end \ No newline at end of file