A problem in ruby


#1

how to write a program in ruby that maintains key value pairs read out
of a file and enables a user to search for any value of a key provided
by the users.


#2

nirmala wrote:

how to write a program in ruby that maintains key value pairs read out
of a file and enables a user to search for any value of a key provided
by the users.

http://ruby-doc.org/core/classes/CSV.html
http://ruby-doc.org/core/classes/Hash.html
http://www.ruby-doc.org/docs/ProgrammingRuby/