Rob Biedenharn wrote in post #1139632:
> On 2014-Mar-12, at 14:50 , Arup Rakshit <lists / ruby-forum.com> wrote:

> Perhaps you want to do something like:
>
> irb2.1.0> h.select {|k,v| /a/i =~ k}
> #2.1.0 => {"arup"=>100, "banti"=>200, "carry"=>300}
>
> -Rob

Thank you very much.

I am actually looking for any use cases are there or not to use #grep 
with Hash, like others. Documentation didn't have any example with Hash.

-- 
Posted via http://www.ruby-forum.com/.