Displaying 1 result from an estimated 1 matches for "leeden".
Did you mean:
leaden
2009 Feb 13
4
How to get first 10 items from hash in ruby?
Hello All, I am new to programming, i have little problem with hash.
I want to retrieve first 10 items(key value pairs) from given hash{}
hashTable = {"a" => 1, "b" => 5, "c" => 2, "d" => 6, "e" => 4, "f" => 7,
"g" => 9, "h" => 5, "i" => 1, "j" => 8, "k"