Class: GoogleAjax::Hash

Inherits:
Hash
  • Object
show all
Defined in:
lib/googleajax/hash.rb

Overview

Out very own Hash class, with the only difference being the constructor which takes a hash for its initial values

Instance Method Summary collapse

Methods inherited from Hash

[], constructor_without_key_value_pair_form

Constructor Details

#initialize(h) ⇒ Hash

Returns a new instance of Hash.



5
6
7
8
# File 'lib/googleajax/hash.rb', line 5

def initialize(h)
  replace(h)
  super()
end