module Elasticsearch::Persistence::Scoping::ClassMethods

Public Instance Methods

current_scope() click to toggle source
# File lib/elasticsearch/persistence/scoping.rb, line 12
def current_scope
   ScopeRegistry.value_for(:current_scope, base_class.to_s)
end