Skip to content

Instantly share code, notes, and snippets.

#1
class Question1
class << self
def case_for()
total = 0
for i in 1..10 do
total += i
end
puts total
@ddlion
ddlion / Main.rb
Last active August 29, 2015 14:18
require './fizz_buzz'
100.times {|i| (i+1).fizz_buzz}