[前][次][番号順一覧][スレッド一覧]

ruby-changes:57050

From: Nobuyoshi <ko1@a...>
Date: Fri, 16 Aug 2019 00:02:38 +0900 (JST)
Subject: [ruby-changes:57050] Nobuyoshi Nakada: 40806793a9 (master): Fixed class, module and method references [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=40806793a9

From 40806793a97ef3efd4f249682c9cb397962a8cee Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 16 Aug 2019 00:00:50 +0900
Subject: Fixed class, module and method references [ci skip]


diff --git a/lib/English.rb b/lib/English.rb
index e6da36e..ec90ff1 100644
--- a/lib/English.rb
+++ b/lib/English.rb
@@ -52,45 +52,43 @@ module English end if false https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L52
 alias $ERROR_INFO              $!
 
 # The stack backtrace generated by the last
-# exception. <tt>See Kernel.caller</tt> for details. Thread local.
+# exception. See Kernel#caller for details. Thread local.
 alias $ERROR_POSITION          $@
 
-# The default separator pattern used by <tt>String.split</tt>.  May be
-# set from the command line using the <tt>-F</tt> flag.
+# The default separator pattern used by String#split.  May be set from
+# the command line using the <tt>-F</tt> flag.
 alias $FS                      $;
 
-# The default separator pattern used by <tt>String.split</tt>.  May be
-# set from the command line using the <tt>-F</tt> flag.
+# The default separator pattern used by String#split.  May be set from
+# the command line using the <tt>-F</tt> flag.
 alias $FIELD_SEPARATOR         $;
 
 # The separator string output between the parameters to methods such
-# as <tt>Kernel.print</tt> and <tt>Array.join</tt>. Defaults to +nil+,
-# which adds no text.
+# as Kernel#print and Array#join. Defaults to +nil+, which adds no
+# text.
 alias $OFS                     $,
 
 # The separator string output between the parameters to methods such
-# as <tt>Kernel.print</tt> and <tt>Array.join</tt>. Defaults to +nil+,
-# which adds no text.
+# as Kernel#print and Array#join. Defaults to +nil+, which adds no
+# text.
 alias $OUTPUT_FIELD_SEPARATOR  $,
 
 # The input record separator (newline by default). This is the value
-# that routines such as <tt>Kernel.gets</tt> use to determine record
+# that routines such as Kernel#gets use to determine record
 # boundaries. If set to +nil+, +gets+ will read the entire file.
 alias $RS                      $/
 
 # The input record separator (newline by default). This is the value
-# that routines such as <tt>Kernel.gets</tt> use to determine record
+# that routines such as Kernel#gets use to determine record
 # boundaries. If set to +nil+, +gets+ will read the entire file.
 alias $INPUT_RECORD_SEPARATOR  $/
 
 # The string appended to the output of every call to methods such as
-# <tt>Kernel.print</tt> and <tt>IO.write</tt>. The default value is
-# +nil+.
+# Kernel#print and IO#write. The default value is +nil+.
 alias $ORS                     $\
 
 # The string appended to the output of every call to methods such as
-# <tt>Kernel.print</tt> and <tt>IO.write</tt>. The default value is
-# +nil+.
+# Kernel#print and IO#write. The default value is +nil+.
 alias $OUTPUT_RECORD_SEPARATOR $\
 
 # The number of the last line read from the current input file.
@@ -99,14 +97,14 @@ alias $INPUT_LINE_NUMBER       $. https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L97
 # The number of the last line read from the current input file.
 alias $NR                      $.
 
-# The last line read by <tt>Kernel.gets</tt> or
-# <tt>Kernel.readline</tt>. Many string-related functions in the
-# +Kernel+ module operate on <tt>$_</tt> by default. The variable is
+# The last line read by Kernel#gets or
+# Kernel#readline. Many string-related functions in the
+# Kernel module operate on <tt>$_</tt> by default. The variable is
 # local to the current scope. Thread local.
 alias $LAST_READ_LINE          $_
 
-# The destination of output for <tt>Kernel.print</tt>
-# and <tt>Kernel.printf</tt>. The default value is
+# The destination of output for Kernel#print
+# and Kernel#printf. The default value is
 # <tt>$stdout</tt>.
 alias $DEFAULT_OUTPUT          $>
 
@@ -115,7 +113,7 @@ alias $DEFAULT_OUTPUT          $> https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L113
 # given as command-line arguments, or <tt>$stdin</tt>
 # (in the case where there are no
 # arguments). <tt>$<</tt> supports methods similar to a
-# +File+ object:
+# File object:
 # +inmode+, +close+,
 # <tt>closed?</tt>, +each+,
 # <tt>each_byte</tt>, <tt>each_line</tt>,
@@ -129,8 +127,8 @@ alias $DEFAULT_OUTPUT          $> https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L127
 # +rewind+, +seek+, +skip+,
 # +tell+, <tt>to_a</tt>, <tt>to_i</tt>,
 # <tt>to_io</tt>, <tt>to_s</tt>, along with the
-# methods in +Enumerable+. The method +file+
-# returns a +File+ object for the file currently
+# methods in Enumerable. The method +file+
+# returns a File object for the file currently
 # being read. This may change as <tt>$<</tt> reads
 # through the files on the command line. Read only.
 alias $DEFAULT_INPUT           $<
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]