mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[ruby/optparse] [DOC] Update documents to use single quotes instead of backqoutes
5e71a70cb5
This commit is contained in:
parent
1a985d36a7
commit
9de9cb53c0
4 changed files with 34 additions and 33 deletions
|
@ -142,7 +142,7 @@
|
|||
# Used:
|
||||
#
|
||||
# $ ruby optparse-test.rb -r
|
||||
# optparse-test.rb:9:in `<main>': missing argument: -r (OptionParser::MissingArgument)
|
||||
# optparse-test.rb:9:in '<main>': missing argument: -r (OptionParser::MissingArgument)
|
||||
# $ ruby optparse-test.rb -r my-library
|
||||
# You required my-library!
|
||||
#
|
||||
|
@ -235,7 +235,7 @@
|
|||
# $ ruby optparse-test.rb --user 2
|
||||
# #<struct User id=2, name="Gandalf">
|
||||
# $ ruby optparse-test.rb --user 3
|
||||
# optparse-test.rb:15:in `block in find_user': No User Found for id 3 (RuntimeError)
|
||||
# optparse-test.rb:15:in 'block in find_user': No User Found for id 3 (RuntimeError)
|
||||
#
|
||||
# === Store options to a Hash
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue