Module: Chewy::Search::Parameters::StringArrayStorage

Included in:
DocvalueFields
Defined in:
lib/chewy/search/parameters/concerns/string_array_storage.rb

Overview

Stores value as an array of strings.

Instance Method Summary collapse

Instance Method Details

#update!(other_value) ⇒ Array<String, Symbol>

Unions two arrays.



11
12
13
# File 'lib/chewy/search/parameters/concerns/string_array_storage.rb', line 11

def update!(other_value)
  @value = value | normalize(other_value)
end