Method: Elasticsearch::Model::Registry.__instance
- Defined in:
- lib/elasticsearch/model/multimodel.rb
.__instance ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns the unique instance of the registry (Singleton)
31 32 33 |
# File 'lib/elasticsearch/model/multimodel.rb', line 31 def self.__instance @instance ||= new end |