How to get hash values?

Hi,
please help me…

<% puts “Total #{@totalemail.inspect}” %>

My Output is: Total [{:email=>“[email protected]”, :name=>“aa”},
{:email=>“[email protected]”, :name=>“bb”}]

How to get email and name???

Thankyou.

@totalemail[0][:email] does the trick ?

Cheers.

[ rui ]
[ Seiri, Seiton, Seisō, Seiketsu e Shitsuke ]

On Wed, Nov 12, 2008 at 9:04 AM, Smarty 2k

Solved… Thank you Very much

Rui Neto wrote:

@totalemail[0][:email] does the trick ?

Cheers.

[ rui ]
[ Seiri, Seiton, Seisō, Seiketsu e Shitsuke ]

On Wed, Nov 12, 2008 at 9:04 AM, Smarty 2k