This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
master
RosettaCodeData
/
Task
/
FizzBuzz
/
Ruby
/
fizzbuzz-7.rb
2 lines
69 B
Ruby
Raw
Permalink
Normal View
History
Unescape
Escape
Just another update
2015-02-20 00:35:01 -05:00
1
.
upto
(
100
)
{
|
i
|
puts
"
#{
[
:Fizz
]
[
i
%
3
]
}
#{
[
:Buzz
]
[
i
%
5
]
}
"
[
/
.+
/
]
||
i
}
Reference in a new issue
Copy permalink