Class: Hash

Inherits:
Object show all
Defined in:
lib/everyday-cli-utils/maputil.rb

Instance Method Summary collapse

Instance Method Details

#-(hash2) ⇒ Object



66
67
68
# File 'lib/everyday-cli-utils/maputil.rb', line 66

def -(hash2)
  EverydayCliUtils::MapUtil.hash_diff(self, hash2)
end

#cloneObject



54
55
56
# File 'lib/everyday-cli-utils/maputil.rb', line 54

def clone
  EverydayCliUtils::MapUtil.clone_hash(self)
end

#expandObject



50
51
52
# File 'lib/everyday-cli-utils/maputil.rb', line 50

def expand
  EverydayCliUtils::MapUtil.expand(self)
end

#extend_hash(base_hash) ⇒ Object



62
63
64
# File 'lib/everyday-cli-utils/maputil.rb', line 62

def extend_hash(base_hash)
  EverydayCliUtils::MapUtil.extend_hash(base_hash, self)
end

#hashmap(&block) ⇒ Object



58
59
60
# File 'lib/everyday-cli-utils/maputil.rb', line 58

def hashmap(&block)
  EverydayCliUtils::MapUtil.hashmap(self, &block);
end