Module: ElasticsearchRecord
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/elasticsearch_record/relation/query_clause.rb,
lib/elasticsearch_record.rb,
lib/elasticsearch_record/base.rb,
lib/elasticsearch_record/core.rb,
lib/elasticsearch_record/query.rb,
lib/elasticsearch_record/errors.rb,
lib/elasticsearch_record/result.rb,
lib/elasticsearch_record/version.rb,
lib/elasticsearch_record/querying.rb,
lib/elasticsearch_record/gem_version.rb,
lib/elasticsearch_record/persistence.rb,
lib/elasticsearch_record/model_schema.rb,
lib/elasticsearch_record/instrumentation.rb,
lib/elasticsearch_record/statement_cache.rb,
lib/elasticsearch_record/schema_migration.rb,
lib/elasticsearch_record/extensions/relation.rb,
lib/elasticsearch_record/relation/core_methods.rb,
lib/elasticsearch_record/relation/query_methods.rb,
lib/elasticsearch_record/relation/value_methods.rb,
lib/elasticsearch_record/instrumentation/railtie.rb,
lib/elasticsearch_record/relation/result_methods.rb,
lib/elasticsearch_record/relation/query_clause_tree.rb,
lib/elasticsearch_record/relation/calculation_methods.rb,
lib/elasticsearch_record/instrumentation/log_subscriber.rb,
lib/elasticsearch_record/instrumentation/controller_runtime.rb,
lib/elasticsearch_record/tasks/elasticsearch_database_tasks.rb
Overview
:nodoc:
Defined Under Namespace
Modules: Core, Extensions, Instrumentation, ModelSchema, Persistence, Querying, Relation, Tasks, VERSION Classes: Base, ElasticsearchRecordError, Query, ResponseResultError, Result, SchemaMigration, StatementCache
Class Method Summary collapse
-
.gem_version ⇒ Object
Returns the version of the currently loaded module as a Gem::Version.
-
.version ⇒ Object
Returns the version of the currently loaded Gem as a Gem::Version.
Class Method Details
.gem_version ⇒ Object
Returns the version of the currently loaded module as a Gem::Version
5 6 7 |
# File 'lib/elasticsearch_record/gem_version.rb', line 5 def self.gem_version Gem::Version.new VERSION::STRING end |
.version ⇒ Object
Returns the version of the currently loaded Gem as a Gem::Version
7 8 9 |
# File 'lib/elasticsearch_record/version.rb', line 7 def self.version gem_version end |