rdp / google_hash

wrapper for google's hash functions, for ruby
BSD 3-Clause "New" or "Revised" License
92 stars 16 forks source link

add has_key? #16

Closed kostyasys closed 14 years ago

kostyasys commented 14 years ago

Please add this method to make google_hash more like ruby hash. There are some aliases: hsh.has_key?(key) => true or false hsh.include?(key) => true or false hsh.key?(key) => true or false hsh.member?(key) => true or false

rdp commented 14 years ago

pushed with v 0.6.0 I also added longs back in (since I guess they're useful on 64 bit machines), and added double [Bignum] value type, which I had mysteriously forgotten. GL. -r