Sha256: a3eee3a516dd9d3ae39b4ea4c8e4c105ac92ba123c2fb6c081e4f16f254867f5
Contents?: true
Size: 325 Bytes
Versions: 11
Compression:
Stored size: 325 Bytes
Contents
require 'facets/enumerable/mash' class Hash # In place version of #graph. # # NOTE: Hash#graph! is only useful for Hash. # It is not generally applicable to Enumerable. def graph!(&yld) replace(graph(&yld)) end # Alias for #graph! as an alliteration for "map hash". alias_method :mash!, :graph! end
Version data entries
11 entries across 10 versions & 1 rubygems