Class: ConvenientService::Dependencies::Queries::Gems::Paint
- Inherits:
-
Object
- Object
- ConvenientService::Dependencies::Queries::Gems::Paint
- Defined in:
- lib/convenient_service/dependencies/queries/gems/paint.rb
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
18 19 20 |
# File 'lib/convenient_service/dependencies/queries/gems/paint.rb', line 18 def loaded? (defined? ::Paint) ? 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.
31 32 33 |
# File 'lib/convenient_service/dependencies/queries/gems/paint.rb', line 31 def version loaded? ? Version.new(::Paint::VERSION) : Version.null_version end |