Created
May 31, 2016 22:40
-
-
Save whitehat101/3de18fad3b5fe33e5d39f447d5c7a22f 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
def time_to_angle h=0, m=0 | |
puts "hours: #{h*30+m/2}" | |
puts "mins: #{m*6}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment