Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/whisper/common.rb

Instance Method Summary collapse

Instance Method Details

#maphashObject



62
63
64
65
# File 'lib/whisper/common.rb', line 62

def maphash
  each { |k, v| self[k] = yield(k, v) }
  self
end