Class: ConvenientService::Support::Gems::Paint
- Inherits:
-
Object
- Object
- ConvenientService::Support::Gems::Paint
- Defined in:
- lib/convenient_service/support/gems/paint.rb
Class Method Summary collapse
-
.loaded? ⇒ Boolean
private
rubocop:disable Style/TernaryParentheses.
- .version ⇒ ConvenientService::Support::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
17 18 19 |
# File 'lib/convenient_service/support/gems/paint.rb', line 17 def loaded? (defined? ::Paint) ? true : false end |
.version ⇒ ConvenientService::Support::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/support/gems/paint.rb', line 30 def version loaded? ? Support::Version.new(::Paint::VERSION) : Support::Version.null_version end |