Commit 5d9b2bad by aboutqx Committed by Mike Burns

Update processor.rb

parent 037b9755
......@@ -37,13 +37,21 @@ module Paperclip
# The convert method runs the convert binary with the provided arguments.
# See Paperclip.run for the available options.
def convert(arguments = "", local_options = {})
Paperclip.run(Gem.win_platform ? "magick convert" : "convert", arguments, local_options)
Paperclip.run(
Gem.win_platform ? "magick convert" : "convert",
arguments,
local_options
)
end
# The identify method runs the identify binary with the provided arguments.
# See Paperclip.run for the available options.
def identify(arguments = "", local_options = {})
Paperclip.run(Gem.win_platform? ? "magick identify" : "identify", arguments, local_options)
Paperclip.run(
Gem.win_platform? ? "magick identify" : "identify",
arguments,
local_options
)
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment