Object
# File lib/mini_magick.rb, line 485 def +(*options) push(@args.pop.gsub(/^-/, '+')) if options.any? options.each do |o| push o end end end
# File lib/mini_magick.rb, line 494 def add_command(command, *options) push "-#{command}" if options.any? options.each do |o| push o end end end
# File lib/mini_magick.rb, line 503 def add_creation_operator(command, *options) creation_command = command if options.any? options.each do |option| creation_command << ":#{option}" end end push creation_command end
# File lib/mini_magick.rb, line 449 def args @args.map(&:shellescape) end
# File lib/mini_magick.rb, line 441 def command com = "#{@tool} #{args.join(' ')}".strip com = "#{MiniMagick.processor} #{com}" unless MiniMagick.processor.nil? com = File.join MiniMagick.processor_path, com unless MiniMagick.processor_path.nil? com.strip end
# File lib/mini_magick.rb, line 474 def format(*options) raise Error, "You must call 'format' on the image object directly!" end
# File lib/mini_magick.rb, line 513 def push(arg) @args << arg.to_s.strip end
Generated with the Darkfish Rdoc Generator 2.