Sha256: 226d24ca02bda040b3cc4ea4970df5bbd98eabd7c9f5a27839dd4e8c48ab62d5

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

module Compel
  module Builder

    class Hash < Schema

      def initialize
        super(Coercion::Hash)

        options[:keys] = {}
      end

      def keys(hash)
        options[:keys] = hash
        self
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compel-0.3.4 lib/compel/builder/hash.rb