Skip to content

Instantly share code, notes, and snippets.

@davidvandusen
Forked from kvirani/README.md
Created May 5, 2015 13:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 200 You must be signed in to fork a gist
  • Save davidvandusen/f6b53f546c0baf7d42e4 to your computer and use it in GitHub Desktop.
Save davidvandusen/f6b53f546c0baf7d42e4 to your computer and use it in GitHub Desktop.
def to_roman(num)
# Your code here
end
# Drive code... this should print out trues.
puts to_roman(1) == "I"
puts to_roman(3) == "III"
puts to_roman(6) == "VI"
# TODO: what other cases could you add to ensure your to_roman method is working?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment