23 Commits

Author SHA1 Message Date
b79acd049f allow nil and :boolean to be option configuration values 2014-06-25 15:22:39 -04:00
0eb754814e document :boolean option flag 2014-06-25 15:15:09 -04:00
a78ee7275e implement :boolean option flag 2014-06-25 15:05:19 -04:00
f74253844b use .is_a?() instead of .class == 2014-06-25 14:53:22 -04:00
4e18e729c3 switch to YARD for documentation 2014-06-25 14:52:39 -04:00
34ee9a1b09 close parentheses 2013-05-02 11:16:05 -04:00
e7164589ab document that an exception might be raised on parse() 2013-05-02 10:45:02 -04:00
0b2193b3d4 use one exception class for all argument parsing errors 2013-05-02 10:43:54 -04:00
f55fb38e05 expand documentation a bit more 2013-05-02 10:38:45 -04:00
9b19afea20 expand documentation 2013-05-02 10:14:09 -04:00
96277b62d0 update usage information / example configuration 2013-01-23 21:51:03 -05:00
6ae8e62f7b implement posix_order flag 2013-01-22 18:09:44 -05:00
dd4148a3d6 refactor more common processing into _gather() 2013-01-22 14:43:26 -05:00
90d2a938d5 return option value for short option also 2013-01-22 14:03:27 -05:00
cf049aed2f process configured short options 2013-01-22 13:54:22 -05:00
40ecadd056 add _massage_options() to simplify parse() 2013-01-21 22:11:57 -05:00
ef860a8eee internally convert nargs to a range if it was a Fixnum for processing 2013-01-21 21:44:16 -05:00
91846e741e refactor using _gather() 2013-01-21 16:45:00 -05:00
4a693ba1ea return argument value when nargs = 1 2013-01-21 16:10:07 -05:00
056257b8f5 return boolean options set 2013-01-20 22:54:06 -05:00
56e644e16e raise exception on unknown option 2013-01-20 22:28:36 -05:00
67e9ec2c64 start working on parse() 2013-01-20 20:34:29 -05:00
a8dfa3ed8a initial bundle gem contents 2013-01-20 19:28:49 -05:00