Sha256: e045134fcaa8d9042aa333148dfadf5aff29587c01933773e988c9c252527fc0
Contents?: true
Size: 265 Bytes
Versions: 2
Compression:
Stored size: 265 Bytes
Contents
# encoding: utf-8 module Mixture module Coerce # Handles coercion of the Hash class. class Hash < Base type Type::Hash coerce_to(Type::Object, Itself) coerce_to(Type::Hash, Itself) coerce_to(Type::Array, :to_a) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mixture-0.2.0 | lib/mixture/coerce/hash.rb |
mixture-0.1.0 | lib/mixture/coerce/hash.rb |