Sha256: 34072df0d00bbec0d3951d1b5ada6c8a7855818b8219f133c6a24beacc548630
Contents?: true
Size: 1.2 KB
Versions: 13
Compression:
Stored size: 1.2 KB
Contents
require_relative 'safe/maputil' module Enumerable def removefalse EverydayCliUtils::MapUtil.removefalse(self) end def filtermap(&block) EverydayCliUtils::MapUtil.filtermap(self, &block) end def sum EverydayCliUtils::MapUtil.sum(self) end def prod EverydayCliUtils::MapUtil.prod(self) end def average EverydayCliUtils::MapUtil.average(self) end def std_dev EverydayCliUtils::MapUtil.std_dev(self) end def floats EverydayCliUtils::MapUtil.floats(self) end def summap(&block) EverydayCliUtils::MapUtil.summap(self, &block) end def productmap(&block) EverydayCliUtils::MapUtil.productmap(self, &block) end def chompall EverydayCliUtils::MapUtil.chompall(self) end def join(join_str) EverydayCliUtils::MapUtil.join(self, join_str) end end class Hash def expand EverydayCliUtils::MapUtil.expand(self) end def clone EverydayCliUtils::MapUtil.clone_hash(self) end def hashmap(&block) EverydayCliUtils::MapUtil.hashmap(self, &block); end def extend_hash(base_hash) EverydayCliUtils::MapUtil.extend_hash(base_hash, self) end def -(hash2) EverydayCliUtils::MapUtil.hash_diff(self, hash2) end end
Version data entries
13 entries across 13 versions & 1 rubygems