method
pass_transform_argument
rails latest stable - Class:
ActiveStorage::Transformers::MiniMagickTransformer
pass_transform_argument(command, method, argument)private
No documentation available.
# File activestorage/lib/active_storage/transformers/mini_magick_transformer.rb, line 29
def pass_transform_argument(command, method, argument)
if argument == true
command.public_send(method)
elsif argument.present?
command.public_send(method, argument)
end
end