Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
Wrap text
Report abuse
class Object def loop_for(time, &block) finish = Time.now + time yield while Time.now < finish end end
Pasted July 11, 2007 6:46PM EDT
by halorgium
Channel #rubyonrails on irc.freenode.com
Embed
Ads from Ruby Row