summaryrefslogtreecommitdiff
path: root/lib/slop/option.rb
Commit message (Expand)AuthorAgeFilesLines
* Allow singular form 'validate_type' to be provided to OptionVictor Gama2023-02-151-1/+1
* Add optional type validationVictor Gama2023-02-151-1/+19
* Support for required optionsWilliam Woodruff2017-09-291-0/+6
* Add config option underscore_flagslbriais-feature/add_config_for_underscore_switchLaurent B2017-05-011-1/+9
* #163 only raise MissingArgument if not default_valueBen Brady2015-06-301-3/+8
* Better handling of option names with multiple wordsTim Rogers2015-06-131-1/+1
* Implement getFlags in MissingArgumentsigurdsvela2015-04-061-1/+1
* Support `tail: true` config optionLee Jarvis2015-01-021-1/+13
* Comments and clean upLee Jarvis2014-12-171-2/+18
* Document OptionLee Jarvis2014-12-171-0/+11
* Add NullOption and default to using itLee Jarvis2014-12-171-0/+6
* Ensure booleans default to falseLee Jarvis2014-11-191-1/+5
* Handle UnknownOption exceptionsLee Jarvis2014-11-191-5/+1
* Add MissingArgument error processing, and suppressingLee Jarvis2014-11-191-0/+19
* Yield option arguments to option blocksLee Jarvis2014-11-191-2/+4
* Allow options to be hidden from help stringLee Jarvis2014-11-191-1/+9
* Add custom "finish" method for optionsLee Jarvis2014-11-191-1/+8
* Handle default valuesLee Jarvis2014-11-191-1/+1
* Add more option typesLee Jarvis2014-11-191-2/+3
* Store executed count on optionsLee Jarvis2014-11-191-2/+17
* Add Result#to_hashLee Jarvis2014-11-191-0/+4
* Basic option parsingLee Jarvis2014-11-191-0/+9
* Add Options#to_s help stringLee Jarvis2014-11-191-1/+9
* Start of rewriteLee Jarvis2014-11-181-113/+6
* Beginning of Slop 4.0 rewriteLee Jarvis2013-08-291-171/+81
* Revert "ensure Object#eql? checks against short and long flags"Lee Jarvis2013-01-131-8/+0
* ensure Object#eql? checks against short and long flagsLee Jarvis2013-01-131-0/+8
* Revert "ensure option duplicate checks for long OR short flags"Lee Jarvis2013-01-131-8/+0
* ensure option duplicate checks for long OR short flagsLee Jarvis2013-01-131-0/+8
* replace using method send to __send__, that more safety than send in librariesKenichi Kamiya2012-10-221-1/+1
* remove disused objects in Option#to_sKenichi Kamiya2012-10-221-5/+4
* ensure options are not swallowed when using options with arguments included i...Lee Jarvis2012-08-141-1/+1
* sweep warnings on ruby-1.9.nKenichi Kamiya2012-08-141-1/+5
* add the ability to concat list arguments together as a single valueLee Jarvis2012-07-311-2/+17
* added :as => :count functionalityLee Jarvis2012-05-281-2/+6
* avoid using instance_variable_defined? for checking valueLee Jarvis2012-04-301-5/+2
* consider how options are (un-)specifiedNobuhiro IMAI2012-02-291-2/+5
* this is nil anywayLee Jarvis2012-02-151-1/+0
* no need for newline in raiseLee Jarvis2012-02-151-2/+1
* added Slop#strict? methodLee Jarvis2012-01-281-3/+3
* Allow decimal integers only in strict argument checkAmon Sha2012-01-271-1/+1
* Fix some minor copy/paste issuesAmon Sha2012-01-271-2/+2
* Add strict checks for integer and float argumentsAmon Sha2012-01-271-3/+38
* value_to_range return a range even if the value looks like anLee Jarvis2012-01-231-7/+11
* no need for this large condition blockLee Jarvis2012-01-161-15/+13
* overwriting option help textLee Jarvis2012-01-151-11/+15
* ensure help strings are formattedLee Jarvis2012-01-151-17/+29
* assign in condition because im a badass and dont afraidLee Jarvis2012-01-121-3/+2
* Slop::Option docsLee Jarvis2012-01-121-2/+21
* remove Option::DEFAULT_TYPES and push types into ivarLee Jarvis2012-01-121-9/+6