rjsamson/hex — pull request #9 by suranyami (2014-09-20 03:07:01+00:00)
Title: Can now pad a hex encode to a set number of digits

I added a convenience method to specify the number of digits to be returned in `Hex.encode/2`
This is convenient for generating HTML hex color codes.

Now it's easy to convert like so:

iex> Hex.encode(15, 2)
"0f"

instead of getting just `f`.