Method: Elastic::Core::Definition#target

Defined in:
lib/elastic/core/definition.rb

#targetObject



5
6
7
8
9
# File 'lib/elastic/core/definition.rb', line 5

def target
  raise 'attempting to access target before definition has been frozen' if @target_cache.nil?

  @target_cache
end