Sha256: 5d85c7774e5dc53e884f3d0b9ab63e3230607c7806f10d2e80523b89d5cf150f

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require "ratatouille/version"

require "ratatouille/ratifier"
require "ratatouille/nilclass"
require "ratatouille/hash"
require "ratatouille/array"
require "ratatouille/string"

# Module to provide DSL for validation of complex Hashes
module Ratatouille

  # @param [Hash, Array] obj Object to validate
  # @return [Validatable::Ratifier]
  def ratify(obj, &block)
    Ratatouille::Ratifier.new(obj, &block)
  end#ratify

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ratatouille-1.0.0 lib/ratatouille.rb
ratatouille-0.1.0 lib/ratatouille.rb