Sha256: 2ea07ff54461f0844f591391e710a14d2664136d2c0a96ec461f14e505a27f5f

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 Bytes

Contents

module HashValidator
  def self.validate(*args)
    Base.validate(*args)
  end

  def self.optional(validation)
    Validations::Optional.new(validation)
  end

  def self.many(validation)
    Validations::Many.new(validation)
  end

  def self.multiple(*validations)
    Validations::Multiple.new(validations)
  end
end

require 'hash_validator/base'
require 'hash_validator/version'
require 'hash_validator/validators'
require 'hash_validator/validations'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hash_validator-1.1.0 lib/hash_validator.rb
hash_validator-1.0.0 lib/hash_validator.rb
hash_validator-0.8.0 lib/hash_validator.rb