Sha256: 7c3d7130ca6aab052a0d1270f2b4a50780bfe1ceb763f70383a52c32c89ae75f
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true module ConvenientService module Dependencies module Queries module Gems class Paint class << self ## # @api private # # @return [Boolean] # # @internal # `Style/TernaryParentheses` is disabled since `defined?` has too low priority without parentheses. # # rubocop:disable Style/TernaryParentheses def loaded? (defined? ::Paint) ? true : false end # rubocop:enable Style/TernaryParentheses ## # @api private # # @return [ConvenientService::Dependencies::Queries::Version] # # @internal # - https://github.com/janlelis/paint/blob/v2.2.1/lib/paint/version.rb # def version loaded? ? Version.new(::Paint::VERSION) : Version.null_version end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
convenient_service-0.19.1 | lib/convenient_service/dependencies/queries/gems/paint.rb |
convenient_service-0.19.0 | lib/convenient_service/dependencies/queries/gems/paint.rb |