Sha256: bb2055617a3b93737ce40d227cb4ffe6a2feb7b692e0752010b07d5988bf02ba

Contents?: true

Size: 550 Bytes

Versions: 6

Compression:

Stored size: 550 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
  # @option options [Class] :is_a
  # @option options [String, Symbol] :name
  # @return [Validatable::Ratifier]
  def ratify(obj, options={}, &block)
    Ratatouille::Ratifier.new(obj, options, &block)
  end#ratify

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ratatouille-1.4.3 lib/ratatouille.rb
ratatouille-1.4.2 lib/ratatouille.rb
ratatouille-1.4.0 lib/ratatouille.rb
ratatouille-1.3.8 lib/ratatouille.rb
ratatouille-1.3.6 lib/ratatouille.rb
ratatouille-1.3.4 lib/ratatouille.rb