Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sudo code for a ruby percentage method that would be nice to have
10.percentage_of 100 # => 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment