Skip to content

Instantly share code, notes, and snippets.

@waseem
Last active August 29, 2015 14:07
Show Gist options
  • Save waseem/a016ae3d45bb239f2b4e to your computer and use it in GitHub Desktop.
Save waseem/a016ae3d45bb239f2b4e to your computer and use it in GitHub Desktop.
def cats_text(count = 0)
return "Cats (" + count.to_s + ")" if count > 1
"Cats"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment