Sha256: 57fdc407acf679470d8e89ef9c0ab9f98685496f901560461e2a70db32d45c79
Contents?: true
Size: 339 Bytes
Versions: 15
Compression:
Stored size: 339 Bytes
Contents
require 'facets/enumerable/mash' class Hash # In place version of #mash. # # NOTE: Hash#mash! is only useful for Hash. It is not generally # applicable to Enumerable. def mash!(&yld) replace(mash(&yld)) end # Alias for #mash!. This is the original name for this method. alias_method :graph!, :mash! end
Version data entries
15 entries across 15 versions & 2 rubygems