This website requires JavaScript.
Explore
Help
Sign In
SylorHuang
/
rubtwo
Watch
1
Star
0
Fork
You've already forked rubtwo
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
master
rubtwo
/
app
/
helpers
/
movies_helper.rb
7 lines
116 B
Ruby
Raw
Permalink
Blame
History
module
MoviesHelper
# Checks if a number is odd:
def
oddness
(
count
)
count
.
odd?
?
"
odd
"
:
"
even
"
end
end
Reference in New Issue
View Git Blame
Copy Permalink