Class: ConvenientService::Dependencies::Queries::Gems::ActiveModel Private
- Inherits:
-
Object
- Object
- ConvenientService::Dependencies::Queries::Gems::ActiveModel
- Defined in:
- lib/convenient_service/dependencies/queries/gems/active_model.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
-
.loaded? ⇒ Boolean
private
rubocop:disable Style/TernaryParentheses.
- .version ⇒ ConvenientService::Dependencies::Queries::Version private
Class Method Details
.loaded? ⇒ Boolean
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.
rubocop:disable Style/TernaryParentheses
19 20 21 |
# File 'lib/convenient_service/dependencies/queries/gems/active_model.rb', line 19 def loaded? (defined? ::ActiveModel) ? true : false end |
.version ⇒ ConvenientService::Dependencies::Queries::Version
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.
30 31 32 |
# File 'lib/convenient_service/dependencies/queries/gems/active_model.rb', line 30 def version loaded? ? Version.new(::ActiveModel.version) : Version.null_version end |