lib/image_processing/mini_magick.rb
def apply_options(magick, define: {}, **options)
          options.each do |option, value|
            case value
            when true, nil then magick.send(option)
            when false     then magick.send(option).+
            else                magick.send(option, *value)
            end
          end

          apply_define(magick, define)
        end
# Applies options from the provided hash.
Applies options from the provided hash.
Applies options from the provided hash .
def apply_options(magick, define: {}, **options)
          options.each do |option, value|
            case value
            when true, nil then magick.send(option)
            when false     then magick.send(option).+
            else                magick.send(option, *value)
            end
          end
          apply_define(magick, define)
        end
def apply_options ( magick , define : { } , ** options ) options . each do | option , value | case value when true , nil then magick . send ( option ) when false then magick . send ( option ) . + else magick . send ( option , * value ) end end apply_define ( magick , define ) end
Applies options from the provided hash.
Applies options from the provided hash .
magick
define
options