Sha256: f975367bf774ac6f247bbc31c342f9a443c6023dc2ac803d13949c816452310c

Contents?: true

Size: 230 Bytes

Versions: 20

Compression:

Stored size: 230 Bytes

Contents

module LetsencryptWebfaction
  class ArgsParser
    class DefinedValuesValidator
      def initialize(values = [])
        @values = values
      end

      def valid?(val)
        @values.include? val
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
letsencrypt_webfaction-2.2.3 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-2.2.2 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-2.2.1 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-2.2.0 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-2.1.0 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-2.0.1 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-2.0.0 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.8 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.7 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.6 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.5 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.4 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.3 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.2 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.1 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.1.0 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.0.1 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-1.0.0 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-0.0.2 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb
letsencrypt_webfaction-0.0.1 lib/letsencrypt_webfaction/args_parser/defined_values_validator.rb