lib/chronicle/etl/extractors/helpers/input_reader.rb in chronicle-etl-0.5.5 vs lib/chronicle/etl/extractors/helpers/input_reader.rb in chronicle-etl-0.6.1
- old
+ new
@@ -35,21 +35,21 @@
end
end
elsif read_from_stdin?
yield $stdin.read, $stdin
else
- raise ExtractionError, "No input files or stdin provided"
+ raise ExtractionError, 'No input files or stdin provided'
end
end
# Read input sources line by line
def read_input_as_lines(&block)
if read_from_files?
lines_from_files(&block)
elsif read_from_stdin?
lines_from_stdin(&block)
else
- raise ExtractionError, "No input files or stdin provided"
+ raise ExtractionError, 'No input files or stdin provided'
end
end
private