lib/chronicle/etl/extractors/file_extractor.rb in chronicle-etl-0.1.4 vs lib/chronicle/etl/extractors/file_extractor.rb in chronicle-etl-0.2.0

- old
+ new

@@ -1,9 +1,9 @@ require 'pathname' module Chronicle - module Etl - class FileExtractor < Chronicle::Etl::Extractor + module ETL + class FileExtractor < Chronicle::ETL::Extractor def extract if file? extract_file do |data, metadata| yield(data, metadata) end