seejohnrun/ice_cube — pull request #239 by ajsharp (2014-05-26 04:01:12+00:00)
Title: HashParser defaults to a hash when passed a nil value

When init-ing a `HashParser` with a nil value, the following error is thrown when calling `to_schedule`: `TypeError: can't dup NilClass`.

This PR fixes that by ensuring a hash value is initialized if a nil value is passed.