summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOlle Jonsson <olle.jonsson@auctionet.com>2021-06-03 15:10:28 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-07-28 13:32:33 +0900
commit0663134ad115e6ba67913555c558392edfc57205 (patch)
treee9550ba915eb799aeb197dddd94e40794d65a324 /lib
parenteb3a7eda5e2722a7f59a610de544039aedc38f3b (diff)
[ruby/getoptlong] RDoc: escape to avoid links to the word Set
We would like to avoid linking to the Set class for these words. https://github.com/ruby/getoptlong/commit/33b56d6141
Diffstat (limited to 'lib')
-rw-r--r--lib/getoptlong.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb
index 53b80ff16c..d3fff34beb 100644
--- a/lib/getoptlong.rb
+++ b/lib/getoptlong.rb
@@ -114,7 +114,7 @@ class GetoptLong
class InvalidOption < Error; end
#
- # Set up option processing.
+ # \Set up option processing.
#
# The options to support are passed to new() as an array of arrays.
# Each sub-array contains any number of String option names which carry
@@ -190,7 +190,7 @@ class GetoptLong
end
#
- # Set the handling of the ordering of options and arguments.
+ # \Set the handling of the ordering of options and arguments.
# A RuntimeError is raised if option processing has already started.
#
# The supplied value must be a member of GetoptLong::ORDERINGS. It alters
@@ -267,7 +267,7 @@ class GetoptLong
attr_reader :ordering
#
- # Set options. Takes the same argument as GetoptLong.new.
+ # \Set options. Takes the same argument as GetoptLong.new.
#
# Raises a RuntimeError if option processing has already started.
#
@@ -341,7 +341,7 @@ class GetoptLong
end
#
- # Set/Unset `quiet' mode.
+ # \Set/Unset `quiet' mode.
#
attr_writer :quiet
@@ -383,7 +383,7 @@ class GetoptLong
end
#
- # Set an error (a protected method).
+ # \Set an error (a protected method).
#
def set_error(type, message)
$stderr.print("#{$0}: #{message}\n") if !@quiet