From: Ferdous ara Date: 2012-12-09T21:35:06+09:00 Subject: Re: Searching a hash by value > #Hash, because you say: > > #key["host_display_name"] > > So the result variable appear to be something like this: > > #result = {#Hash => value, ..} yes that right , a sample out put is like "notes" : "HP Raid Check", "host_notifications_enabled" : 1, "host_active_checks_enabled" : 1, "icon_image" : "", "check_interval" : 60, So if i say puts key["notes"] : the value will be HP raid Check but will this work : #value["host_display_name"] ?? I will try in a bit .. -- Posted via http://www.ruby-forum.com/.