lib/hydra/derivatives/runners/active_encode_derivatives.rb in hydra-derivatives-3.7.0 vs lib/hydra/derivatives/runners/active_encode_derivatives.rb in hydra-derivatives-3.8.0
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
module Hydra::Derivatives
class ActiveEncodeDerivatives < Runner
# @param [String, ActiveFedora::Base] object_or_filename source file name (or path), or an object that has a method that will return the file name
# @param [Hash] options options to pass to the encoder
# @option options [Symbol] :source a method that can be called on the object to retrieve the source file's name