module Imgproxy::OptionsCasters::Integer

Casts integer option

Public Class Methods

cast(raw) click to toggle source
# File lib/imgproxy/options_casters/integer.rb, line 5
def self.cast(raw)
  raw&.to_i
end