Getting the friends contacts mail Id of gmail,hotmail,yahoo

hi,

Please help me!!!!!

am using ruby-1.8.6
              gem blackbook-1.0.4

output is @contacts.inspect(collection of Emails and name)

I got this error :
undefined method `name' for {:email=>"aaa@gmail.com", :name=>"aaa"}:Hash

please give me further solution..... please....

Thankyou.