Sha256: 990ff5468bcbea7afbadb896ffab547ff0253069e2a2cd07f6d2eff6f0fa49f8

Contents?: true

Size: 473 Bytes

Versions: 7

Compression:

Stored size: 473 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
  # @param [Hash] options
  # @return [Validatable::Ratifier]
  def ratify(obj, options={}, &block)
    Ratatouille::Ratifier.new(obj, options, &block)
  end#ratify

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ratatouille-1.3.2 lib/ratatouille.rb
ratatouille-1.3.0 lib/ratatouille.rb
ratatouille-1.2.6 lib/ratatouille.rb
ratatouille-1.2.5 lib/ratatouille.rb
ratatouille-1.2.4 lib/ratatouille.rb
ratatouille-1.2.2 lib/ratatouille.rb
ratatouille-1.2.0 lib/ratatouille.rb