Class: Elastic::Results::Base

Inherits:
Object
  • Object
show all
Includes:
Support::Traversable
Defined in:
lib/elastic/results/base.rb

Instance Method Summary collapse

Methods included from Support::Traversable

#pick

Instance Method Details

#as_valueObject



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