module Imgproxy::OptionsCasters::Array
Casts array option
Public Class Methods
cast(raw)
click to toggle source
# File lib/imgproxy/options_casters/array.rb, line 5 def self.cast(raw) return if raw.nil? raw.is_a?(Array) ? raw : [raw] end