Method: Elasticsearch::Persistence::Repository#inspect

Defined in:
lib/elasticsearch/persistence/repository.rb

#inspectString

Get the nicer formatted string for use in inspection.

Examples:

Inspect the repository.

repository.inspect

Returns:

  • (String)

    The repository inspection.

Since:

  • 6.0.0

[View source]

215
216
217
# File 'lib/elasticsearch/persistence/repository.rb', line 215

def inspect
  "#<#{self.class}:0x#{object_id} index_name=#{index_name} klass=#{klass}>"
end