Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/convertr/convertor.rb

Overview

{{{ small hack for syntax sugar - hash merging by +

Instance Method Summary collapse

Instance Method Details

#+(h) ⇒ Object



6
7
8
# File 'lib/convertr/convertor.rb', line 6

def +(h)
  self.merge(h)
end