New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More on tutorial #24
More on tutorial #24
Conversation
BurdetteLamar
commented
Apr 22, 2021
- Adds section "Parsing" to tutorial.rdoc.
- Removes section "Terminators" from option_params.rdoc. (Terminator '--' is not an option parameter.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way the terminator section was folded into the main story of the parse methods was fluent and good.
:include: ruby/terminator.rb | ||
|
||
The first execution fails because <tt>--nosuch</tt> is not a defined option; | ||
the second succeeds because <tt>--</tt> causes that option to be ignored: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this section also dropped an inconsistent naming (--nosuch/--other_option).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this section also dropped an inconsistent naming (--nosuch/--other_option).
Not sure what you mean. Is this drop ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is excellent is what I mean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
K, thanks!
- Adds section "Parsing" to tutorial.rdoc. - Removes section "Terminators" from option_params.rdoc. (Terminator '--' is not an option parameter.) ruby/optparse@40d51ccbad
@@ -55,7 +55,14 @@ The class also has method #help, which displays automatically-generated help tex | |||
- {Argument Converters}[#label-Argument+Converters] | |||
- {Help}[#label-Help] | |||
- {Top List and Base List}[#label-Top+List+and+Base+List] | |||
- {Methods for Defining Options}[#label-Methods+for+Defining+Options] | |||
- {Defining Options}[#label-Defining+Options] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This label conflicts with another line.