lib/cliprompt/optionset.rb in cliprompt-0.1.0 vs lib/cliprompt/optionset.rb in cliprompt-0.1.1

- old
+ new

@@ -20,9 +20,10 @@ else fail OptionException, "Undefined parser ::#{meth}" end end + # placeholder for nil type objects def parse_nilclass(args) end def parse_hash(args) @choices = args[:choices] || args['choices'] || []