polydice/flavors — pull request #2 by jparsons (2014-07-09 16:43:32+00:00)
Title: Small change to allow the default option to be false.

I had an issue setting false as the default value. The expression default.present? will return false if the value of default is false, causing the method to continue to the else clause, and returning nil. Since default will always be set to nil if it is not present, there is no need to check for the presence of a default value.