Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix deprecation warning in tests | Lee Jarvis | 2019-01-21 | 1 | -1/+1 |
| | |||||
* | add Slop::Result#fetch | Giovanni Benussi | 2018-06-27 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | | | | | use Slop::Result#clean_key in Slop::Result#option fix typo in Slop::Result#[] and Slop::Result#fetch descriptions handle case when Slop::Result#fetch tries to fetch an option that is not provided and does not have a default value raise Slop::UnknownOption when Slop::Result#fetch tries to fetch an unexisting key set Slop::Result#clean_key method as private remove redundant Slop::Result#fetch tests update description of Slop::Result#fetch test when trying to access an unexisting option update error message when an option is not present on Slop::Result#fetch description of Slop::Result#fetch update expected error message on test for Slop::Result#fetch when an option is not present | ||||
* | Fix ridiculous minitest warning | Lee Jarvis | 2017-04-29 | 1 | -1/+1 |
| | | | | wat? | ||||
* | #163 only raise MissingArgument if not default_value | Ben Brady | 2015-06-30 | 1 | -0/+3 |
| | |||||
* | Better handling of option names with multiple words | Tim Rogers | 2015-06-13 | 1 | -6/+14 |
| | |||||
* | Add explicit value setter to Result class | Lee Jarvis | 2015-02-04 | 1 | -0/+14 |
| | | | | closes #162 | ||||
* | Reset parser every time parse is called | Lee Jarvis | 2014-12-30 | 1 | -4/+4 |
| | |||||
* | Yield option arguments to option blocks | Lee Jarvis | 2014-11-19 | 1 | -0/+7 |
| | |||||
* | Support method_missing checks for used options | Lee Jarvis | 2014-11-19 | 1 | -0/+7 |
| | |||||
* | Add custom "finish" method for options | Lee Jarvis | 2014-11-19 | 1 | -0/+17 |
| | |||||
* | Handle default values | Lee Jarvis | 2014-11-19 | 1 | -0/+6 |
| | |||||
* | Store executed count on options | Lee Jarvis | 2014-11-19 | 1 | -0/+7 |
| | |||||
* | Add public "get" methods to Result | Lee Jarvis | 2014-11-19 | 1 | -4/+27 |
| | | | | With a light sprinkle of documentation | ||||
* | Add Result#to_hash | Lee Jarvis | 2014-11-19 | 1 | -0/+18 |