Sha256: 7bdad6837b6d6e20a69da515695980de0cf2f617796405bb5f2224a6123ac304

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

module GoogleAjax
  # Out very own Hash class, with the only difference being the constructor
  # which takes a hash for its initial values
  class Hash < ::Hash
    def initialize(h)
      replace(h)
      super()
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
googleajax-1.0.1 lib/googleajax/hash.rb
googleajax-1.0.0 lib/googleajax/hash.rb