Sha256: c56712252a9003df82d7249a3f0c16f32d964e194ef7957ee10acd7ae0139cd2

Contents?: true

Size: 253 Bytes

Versions: 5

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true
module ThemeCheck
  class Checks < Array
    def call(method, *args)
      each do |check|
        if check.respond_to?(method) && !check.ignored?
          check.send(method, *args)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
theme-check-0.2.2 lib/theme_check/checks.rb
theme-check-0.2.0 lib/theme_check/checks.rb
theme-check-0.1.2 lib/theme_check/checks.rb
theme-check-0.1.1 lib/theme_check/checks.rb
theme-check-0.1.0 lib/theme_check/checks.rb