Class: Elastic::Results::Base
- Inherits:
-
Object
- Object
- Elastic::Results::Base
- Includes:
- Support::Traversable
- Defined in:
- lib/elastic/results/base.rb
Direct Known Subclasses
Aggregations, BucketCollection, GroupedResult, Hit, Metric, ResultGroup, ScoredCollection, ScoredItem
Instance Method Summary collapse
Methods included from Support::Traversable
Instance Method Details
#as_value ⇒ Object
5 6 7 |
# File 'lib/elastic/results/base.rb', line 5 def as_value self end |
#traverse(&_block) ⇒ Object
9 10 11 |
# File 'lib/elastic/results/base.rb', line 9 def traverse(&_block) _block.call(self) end |