Re: Ruby Newbie - array/hash help

I’ve been doing research, but I can’t make heads or tails of it. Any
assistance would be greatly appreciated.

data_sources.keys.each{ |table_name|

some_code

}

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.

On Sep 6, 2006, at 9:51 AM, Berger, Daniel wrote:

data_sources.keys.each{ |table_name|

some_code

}

Or:

data_sources.each_key { |table_name|
# …
}

James Edward G. II

<…>

data_sources.keys.each{ |table_name|

some_code

}

Or:

data_sources.each_key { |table_name|
#some code
}

Regards,
Rimantas