Iterators in ruby

hi

i am new to rails

would u tell me types of each iterator

i used some of each iterators like each,each_index…

Thanks


Regards,
Ramanavel Selvaraju,

On Thu, Sep 24, 2009 at 8:01 AM, Ramana V. [email protected] wrote:

i am new to rails

You seem to be new to reading the documentation as well.

would u tell me types of each iterator
i used some of each iterators like each,each_index…

http://api.rubyonrails.org/


Greg D.
http://destiney.com/

Hi –

On Thu, 24 Sep 2009, Ramana V. wrote:

hi

i am new to railsÂ

would u tell me types of each iteratorÂ

i used some of each iterators like each,each_index…

Most of the most common iterators in Ruby are in the Enumerable
module, whose methods you can examine directly in irb or with ri.

David


David A. Black, Director
Ruby Power and Light, LLC (http://www.rubypal.com)
Ruby/Rails training, consulting, mentoring, code review
Book: The Well-Grounded Rubyist (The Well-Grounded Rubyist)

Thanks alot

On Thu, Sep 24, 2009 at 8:54 PM, David A. Black [email protected]
wrote:

i used some of each iterators like each,each_index…
Ruby/Rails training, consulting, mentoring, code review
Book: The Well-Grounded Rubyist (The Well-Grounded Rubyist)


Regards,
Ramanavel Selvaraju,

[email protected]

Phone no:9790590982