module Imgproxy::OptionsCasters::Adjust

Casts gravity option

Constants

CASTER

Public Class Methods

cast(raw) click to toggle source
# File lib/imgproxy/options_casters/adjust.rb, line 15
def self.cast(raw)
  return raw unless raw.is_a?(Hash)

  CASTER.cast(raw)
end