Last active
November 8, 2016 02:07
-
-
Save katienreed/5294a9138231278d396fcad3990aa639 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/helpers/unit_check_helper.rb | |
module UnitCheck | |
def unit_check(@number, @time) | |
if @number = 1 | |
@time.chop! | |
else if | |
@time | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment