Sha256: 9a5be115ca5d389c4e5e49e94188877e7afb859546b575d3aff5460bb0eb9692
Contents?: true
Size: 441 Bytes
Versions: 2
Compression:
Stored size: 441 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module Mixture module Types # A hash. This is also accessable, and expects two member types; # one for the keys, and one for the values. class Hash < Object register options[:primitive] = ::Hash options[:members] = [Object, Object] options[:method] = :to_hash options[:types] = ThreadSafe::Cache.new extend Access end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mixture-0.7.1 | lib/mixture/types/hash.rb |
mixture-0.7.0 | lib/mixture/types/hash.rb |