Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

using mod 15

  • Loading branch information...
commit 99f7a8ee1435c4064d5aed988a299cc8ddbc904f 1 parent 00f3eba
@aelgru authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  fizzbuzz.rb
View
2  fizzbuzz.rb
@@ -1,7 +1,7 @@
module FizzBuzz
def self.answer number
- if number % 3 == 0 and number % 5 == 0
+ if number % 15 == 0
return 'fizzbuzz'
end
Please sign in to comment.
Something went wrong with that request. Please try again.