module Elastics::Result::Scope

Public Instance Methods

get_docs() click to toggle source
# File lib/elastics/result/scope.rb, line 5
def get_docs
  return self if variables[:raw_result]
  respond_to?(:collection) ? collection : self
end