Sha256: 8f1ef5d5ff5a7b380c9f7935b071bb771641adec1fd4994e8bb9f191e0d4864d

Contents?: true

Size: 208 Bytes

Versions: 10

Compression:

Stored size: 208 Bytes

Contents

module Shogun
  module Validator
    def valid?
      verifiers.all?(&:valid?)
    end

    def invalids
      verifiers.reject(&:valid?)
    end

    private def verifiers
      @verifiers
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shogun-6.4.2 lib/shogun/validator.rb
shogun-6.4.1 lib/shogun/validator.rb
shogun-6.4.0 lib/shogun/validator.rb
shogun-6.3.0 lib/shogun/validator.rb
shogun-6.2.3 lib/shogun/validator.rb
shogun-6.2.2 lib/shogun/validator.rb
shogun-6.2.1 lib/shogun/validator.rb
shogun-6.2.0 lib/shogun/validator.rb
shogun-6.1.0 lib/shogun/validator.rb
shogun-6.0.0 lib/shogun/validator.rb