Skip to content

Instantly share code, notes, and snippets.

View intinig's full-sized avatar

Giovanni Intini intinig

View GitHub Profile
@intinig
intinig / quiz.rb
Created May 15, 2009 16:59 — forked from ryanb/quiz.rb
# COMMUNITY CHALLENGE
#
# How would you test this Quiz#problem method? No mocks/stubs allowed.
class Quiz
def initialize(input = STDIN, output = STDOUT)
@input = input
@output = output
end
def problem