Class Student
  attr_accessor brain, explode, beer
  def initialize(brain, explode, beer)
...

Ruby Fun with School and Ruby

by https://www.google.com/accounts/o8/id?id=AItOawlnEdwkKfBeo4dr8z-lFGJGbJTlVlMWFgE, November 04, 2010 23:56, 1 refactoring, tagged with ruby, loop, student, school, beer

I am sure everyone has done...

55502f40dc8b7c769880b10874abc9d0 Talk
def create_something(min_value)
  loop do
    something = SomeClass.generate_random
...

Ruby loop a random generator unt...

by Alec Leitner, August 10, 2009 20:36, 5 refactorings, tagged with ruby, loop

This is my version of loopi...

72820eaf703cd07ba9bc6ecc09e5d81a Talk
feed = RssParser.run("http://ws.audioscrobbler.com/1.0/user/me/recenttracks.rss")
  song1 = feed[:items][0][:title]
...

Ruby Think this needs a loop

by juo100@gmail.com, September 06, 2008 19:54, 3 refactorings, tagged with ruby, loop, noob

Im new to Ruby, I think it ...

B543a43dc8cb0aae562278484db60d25 Talk
module Every
  @interval, @stopped = 0.0, true
  @numwords = {"one"=>1, "two"=>2, "three"=>3, "four"=>4, "five"=>5, "six"=>6, "seven"=>7, "eight"=>8, "nine"=>9,
...

Ruby Every repeat module

by Ryguy, June 13, 2008 18:38, 2 refactorings, tagged with ruby, loop

Loop a block of code every ...

Ba665f86f90a1982af7b9c857418fcdb Talk
def find_npa(dialed_nxx)
  
  nxx_819 = [ 205, 208, 210, 213, 243 ]
...

Ruby Array iteration

by Titanous, June 11, 2008 23:08, 2 refactorings, tagged with loop, array, iteration, each

I'm new to Ruby, so give me...

4b81fa52ec2103d12ecbd5993463b2b5 Talk