module Chewy::Search::Parameters::IntegerStorage

Just a simple value storage, all the values are coerced to integer.

Private Instance Methods

normalize(value) click to toggle source
# File lib/chewy/search/parameters/concerns/integer_storage.rb, line 8
def normalize(value)
  Integer(value) if value
end