Skip to content

Instantly share code, notes, and snippets.

@canweriotnow
Created September 10, 2010 00:19
Show Gist options
  • Save canweriotnow/572814 to your computer and use it in GitHub Desktop.
Save canweriotnow/572814 to your computer and use it in GitHub Desktop.
Jay-Z in Ruby!
#!/usr/bin/ruby
foo = "a bitch"
problems = (1..99).to_a
sum = 0
problems.each do |x|
if x == foo
next
else
sum += 1
end
end
puts "I\'ve got #{sum} problems but #{foo} ain\'t one!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment