Ruby Hash - 0 views
-
Fabola smith on 27 Apr 10Ruby hashes are equivalent to Java Hashmaps and allows us to store information as key-value pair in contrast to arrays in which we can have only integer keys or indices. Thus, Ruby hashes are generalization of arrays. Ruby Hash Example #!/usr/bin/ruby #