Class: Hash

Inherits:
Object show all
Defined in:
lib/egalite/blank.rb,
lib/egalite/support.rb

Overview

Egalite support methods

Direct Known Subclasses

Egalite::StringifyHash

Instance Method Summary collapse

Instance Method Details

#<<(b) ⇒ Object



4
5
6
# File 'lib/egalite/support.rb', line 4

def <<(b)
  merge(b.to_hash)
end

#>>(b) ⇒ Object



7
8
9
# File 'lib/egalite/support.rb', line 7

def >>(b)
  b.to_hash.merge(self)
end