On Thu, Dec 18, 2014 at 3:46 AM, Psycho Shine <anndrew78@gmail.com> wrote:
> How reorganizing timer.points in simple timer with diapasons, where, for
> exemple, Timeline.new{timer.points.first(0..5), timer.points.second(6..12)
> ... timer.points.last(39...44)} ?
> Any solutions, ideas, practice?
I have utterly no clue what you're trying to do, but sure, here's an idea:
Write some tests.
Describe the desired behavior *in code* and you're nearly there. It's
a habit you can't acquire soon enough :-)
Good luck.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yD152Psd_gUQR57c-cD3PAGKXnyt2U6%2B5NNhPEV6J_GyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment