You probably talk about the step function (http://www.ruby-doc.org/
core/classes/Numeric.src/M000189.html). Always look first the Ruby
API.

Regards.

Franco Catena.

On Jun 5, 6:04 pm, "Ruby on Rails: Talk" <[email protected]>
wrote:
> Hi
>
> I'm sure I've read somewhere that you can count up in 'jumps' using
> ruby?
>
> I've got two times and I want to basically go up in 15 minute jumps
> without using the whole for loop thing.
>
> Any helpful ideas? All my ruby books are in storage and I can't find
> anything on google ...but then I'm not sure what I'm looking for!
>
> Thanks in advance.
>
> Code:
>
> <%- (@info[0][1].. @info[0][2]).???? do %>
>
> Darren
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to