From: Abder-rahman Ali Date: 2010-07-13T17:40:57+09:00 Subject: I'm trying to get the keys, but why values appear? I'm trying to write a script that lists ONLY the keys in a hash as follows: http://pastie.org/private/1ruahb5w05ihsloqwmqeng The case is that when I run the script, I get the following: NameAbder-Rahman Ali Age26 While, I'm intending to get Name Age What am I missing in the script? Thanks. -- Posted via http://www.ruby-forum.com/.