Sha256: fde713a68416f1099044b6c9d6629dd5f6c918590a0eb74c893b385cf33d89fe

Contents?: true

Size: 388 Bytes

Versions: 50

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module Ehbrs
  module Videos
    module Unsupported
      class CheckResult
        enable_simple_cache
        common_constructor :source, :check

        def passed?
          message.blank?
        end

        private

        def message_uncached
          check.check(source)
        end
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
ehbrs-tools-0.39.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.38.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.37.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.36.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.35.1 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.35.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.34.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.33.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.32.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.31.1 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.31.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.30.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.29.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.28.3 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.28.2 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.28.1 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.28.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.27.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.26.0 lib/ehbrs/videos/unsupported/check_result.rb
ehbrs-tools-0.25.1 lib/ehbrs/videos/unsupported/check_result.rb