Method: Elastic::Core::Definition#initialize
- Defined in:
- lib/elastic/core/definition.rb
#initialize ⇒ Definition
Returns a new instance of Definition.
19 20 21 22 23 24 |
# File 'lib/elastic/core/definition.rb', line 19 def initialize @target = nil @field_map = {} @field_cache = {} = HashWithIndifferentAccess.new end |