lib/rocket_job/sliced/slice.rb in rocketjob-5.3.3 vs lib/rocket_job/sliced/slice.rb in rocketjob-5.4.0.beta1
- old
+ new
@@ -92,9 +92,15 @@
event :retry do
transitions from: :failed, to: :queued
end
end
+ # Returns whether this is a specialized binary slice for creating binary data from each slice
+ # that is then just downloaded as-is into output files.
+ def self.binary?
+ false
+ end
+
# `records` array has special handling so that it can be modified in place instead of having
# to replace the entire array every time. For example, when appending lines with `<<`.
def records
@records ||= []
end