-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously RDoc::Options used OptionParser::DecimalInteger instead of Integer for restricting values for the tab width. Unfortunately the validator in RDoc uses #to_i to validate the input instead of Kernel#Integer. This means no exception is raised for invalid input such as "-w=3". Now Integer is used which has the strict validation but also allows octal, hexadecimal and binary numbers. Bug reported by Charles Hixson.
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters