lib/chronicle/etl/extractors/stdin_extractor.rb in chronicle-etl-0.5.5 vs lib/chronicle/etl/extractors/stdin_extractor.rb in chronicle-etl-0.6.1
- old
+ new
@@ -1,8 +1,11 @@
+# frozen_string_literal: true
+
module Chronicle
module ETL
class StdinExtractor < Chronicle::ETL::Extractor
register_connector do |r|
+ r.identifier = :stdin
r.description = 'stdin'
end
def extract
$stdin.read.each_line do |line|