Method: Arelastic::Mappings::Type#initialize

Defined in:
lib/arelastic/mappings/type.rb

#initialize(field, options = {}) ⇒ Type

Returns a new instance of Type.



12
13
14
15
# File 'lib/arelastic/mappings/type.rb', line 12

def initialize(field, options = {})
  @field = field
  @options = options
end