Sha256: 69af70bc0949b1f7f9b1d455b29b30ba2c5c25daff7730eb80496b19e76e0b39

Contents?: true

Size: 144 Bytes

Versions: 1

Compression:

Stored size: 144 Bytes

Contents

module Compel
  module Coercion

    class Hash < Type

      def coerce!
        Hashie::Mash.new(value).to_hash
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compel-0.2.0 lib/compel/coercion/hash.rb