lib/chronicle/etl/transformers/transformer.rb in chronicle-etl-0.1.2 vs lib/chronicle/etl/transformers/transformer.rb in chronicle-etl-0.1.3
- old
+ new
@@ -1,18 +1,18 @@
module Chronicle
module Etl
- module Transformers
- class Transformer
- def initialize(options = {})
- @options = options
- end
+ class Transformer
+ extend Chronicle::Etl::Catalog
- def transform data
- raise NotImplementedError
- end
+ def initialize(options = {})
+ @options = options
end
+
+ def transform data
+ raise NotImplementedError
+ end
end
end
end
-require_relative 'null'
-require_relative 'json'
+require_relative 'json_transformer'
+require_relative 'null_transformer'