lib/rocket_job/sliced/output.rb in rocketjob-5.1.1 vs lib/rocket_job/sliced/output.rb in rocketjob-5.2.0.beta1
- old
+ new
@@ -1,11 +1,11 @@
-require 'tempfile'
+require "tempfile"
module RocketJob
module Sliced
class Output < Slices
def download(header_line: nil)
- raise(ArgumentError, 'Block is mandatory') unless block_given?
+ raise(ArgumentError, "Block is mandatory") unless block_given?
# Write the header line
yield(header_line) if header_line
# Call the supplied block for every record returned