Method: Elasticsearch::Model::Response::Result#respond_to_missing?
- Defined in:
- lib/elasticsearch/model/response/result.rb
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
Respond to methods from ‘@result` or `@result._source`
60 61 62 63 64 |
# File 'lib/elasticsearch/model/response/result.rb', line 60 def respond_to_missing?(method_name, include_private = false) @result.respond_to?(method_name.to_sym) || \ @result._source && @result._source.respond_to?(method_name.to_sym) || \ super end |