PHP 8.2.31
Preview: English.rb Size: 6.44 KB
//proc/thread-self/root/opt/alt/ruby21/lib64/ruby/2.1.0/English.rb

#  Include the English library file in a Ruby script, and you can
#  reference the global variables such as \VAR{\$\_} using less
#  cryptic names, listed in the following table.% \vref{tab:english}.
#
#  Without 'English':
#
#      $\ = ' -- '
#      "waterbuffalo" =~ /buff/
#      print $", $', $$, "\n"
#
#  With English:
#
#      require "English"
#
#      $OUTPUT_FIELD_SEPARATOR = ' -- '
#      "waterbuffalo" =~ /buff/
#      print $LOADED_FEATURES, $POSTMATCH, $PID, "\n"
#
#  Below is a full list of descriptive aliases and their associated global
#  variable:
#
#  $ERROR_INFO::              $!
#  $ERROR_POSITION::          $@
#  $FS::                      $;
#  $FIELD_SEPARATOR::         $;
#  $OFS::                     $,
#  $OUTPUT_FIELD_SEPARATOR::  $,
#  $RS::                      $/
#  $INPUT_RECORD_SEPARATOR::  $/
#  $ORS::                     $\
#  $OUTPUT_RECORD_SEPARATOR:: $\
#  $INPUT_LINE_NUMBER::       $.
#  $NR::                      $.
#  $LAST_READ_LINE::          $_
#  $DEFAULT_OUTPUT::          $>
#  $DEFAULT_INPUT::           $<
#  $PID::                     $$
#  $PROCESS_ID::              $$
#  $CHILD_STATUS::            $?
#  $LAST_MATCH_INFO::         $~
#  $IGNORECASE::              $=
#  $ARGV::                    $*
#  $MATCH::                   $&
#  $PREMATCH::                $`
#  $POSTMATCH::               $'
#  $LAST_PAREN_MATCH::        $+
#
module English end if false

# The exception object passed to +raise+.
alias $ERROR_INFO              $!

# The stack backtrace generated by the last
# exception. <tt>See Kernel.caller</tt> 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.
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.
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.
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.
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
# 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
# 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+.
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+.
alias $OUTPUT_RECORD_SEPARATOR $\

# The number of the last line read from the current input file.
alias $INPUT_LINE_NUMBER       $.

# 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
# 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
# <tt>$stdout</tt>.
alias $DEFAULT_OUTPUT          $>

# An object that provides access to the concatenation
# of the contents of all the files
# 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:
# +inmode+, +close+,
# <tt>closed?</tt>, +each+,
# <tt>each_byte</tt>, <tt>each_line</tt>,
# +eof+, <tt>eof?</tt>, +file+,
# +filename+, +fileno+,
# +getc+, +gets+, +lineno+,
# <tt>lineno=</tt>, +path+,
# +pos+, <tt>pos=</tt>,
# +read+, +readchar+,
# +readline+, +readlines+,
# +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
# being read. This may change as <tt>$<</tt> reads
# through the files on the command line. Read only.
alias $DEFAULT_INPUT           $<

# The process number of the program being executed. Read only.
alias $PID                     $$

# The process number of the program being executed. Read only.
alias $PROCESS_ID              $$

# The exit status of the last child process to terminate. Read
# only. Thread local.
alias $CHILD_STATUS            $?

# A +MatchData+ object that encapsulates the results of a successful
# pattern match. The variables <tt>$&</tt>, <tt>$`</tt>, <tt>$'</tt>,
# and <tt>$1</tt> to <tt>$9</tt> are all derived from
# <tt>$~</tt>. Assigning to <tt>$~</tt> changes the values of these
# derived variables.  This variable is local to the current
# scope.
alias $LAST_MATCH_INFO         $~

# If set to any value apart from +nil+ or +false+, all pattern matches
# will be case insensitive, string comparisons will ignore case, and
# string hash values will be case insensitive. Deprecated
alias $IGNORECASE              $=

# An array of strings containing the command-line
# options from the invocation of the program. Options
# used by the Ruby interpreter will have been
# removed. Read only. Also known simply as +ARGV+.
alias $ARGV                    $*

# The string matched by the last successful pattern
# match. This variable is local to the current
# scope. Read only.
alias $MATCH                   $&

# The string preceding the match in the last
# successful pattern match. This variable is local to
# the current scope. Read only.
alias $PREMATCH                $`

# The string following the match in the last
# successful pattern match. This variable is local to
# the current scope. Read only.
alias $POSTMATCH               $'

# The contents of the highest-numbered group matched in the last
# successful pattern match. Thus, in <tt>"cat" =~ /(c|a)(t|z)/</tt>,
# <tt>$+</tt> will be set to "t".  This variable is local to the
# current scope. Read only.
alias $LAST_PAREN_MATCH        $+

Directory Contents

Dirs: 31 × Files: 77

Name Size Perms Modified Actions
cgi DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
date DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
digest DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
dl DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
drb DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
fiddle DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
io DIR
- drwxr-xr-x 2024-03-03 22:43:07
Edit Download
irb DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
json DIR
- drwxr-xr-x 2024-03-03 22:43:07
Edit Download
matrix DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
net DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
openssl DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
optparse DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
psych DIR
- drwxr-xr-x 2024-03-03 22:43:08
Edit Download
racc DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
rake DIR
- drwxr-xr-x 2024-03-03 22:53:20
Edit Download
rbconfig DIR
- drwxr-xr-x 2024-03-03 22:43:11
Edit Download
rdoc DIR
- drwxr-xr-x 2024-03-03 22:43:10
Edit Download
rexml DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
rinda DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
ripper DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
rss DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
rubygems DIR
- drwxr-xr-x 2024-03-03 22:43:11
Edit Download
shell DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
syslog DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
test DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
uri DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
webrick DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
- drwxr-xr-x 2024-03-03 22:43:08
Edit Download
xmlrpc DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
yaml DIR
- drwxr-xr-x 2024-03-03 22:43:05
Edit Download
3.31 KB lrw-r--r-- 2013-02-21 17:35:32
Edit Download
2.63 KB lrw-r--r-- 2013-05-19 03:10:21
Edit Download
17.95 KB lrw-r--r-- 2013-09-20 16:05:48
Edit Download
9.84 KB lrw-r--r-- 2013-07-18 13:50:32
Edit Download
8.93 KB lrw-r--r-- 2015-07-03 09:12:53
Edit Download
380 B lrw-r--r-- 2009-08-16 15:34:35
Edit Download
81.68 KB lrw-r--r-- 2014-09-14 15:25:34
Edit Download
946 B lrw-r--r-- 2023-07-26 14:22:11
Edit Download
29.08 KB lrw-r--r-- 2013-12-14 14:48:36
Edit Download
11.13 KB lrw-r--r-- 2014-02-02 13:46:46
Edit Download
2.34 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
280 B lrw-r--r-- 2023-07-26 14:22:11
Edit Download
19 B lrw-r--r-- 2009-10-02 10:45:39
Edit Download
3.89 KB lrw-r--r-- 2013-12-17 11:20:10
Edit Download
6.44 KB lrw-r--r-- 2013-02-04 02:50:20
Edit Download
26.07 KB lrw-r--r-- 2014-08-11 14:55:58
Edit Download
2.14 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
1.65 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
47.17 KB lrw-r--r-- 2015-04-28 05:16:46
Edit Download
2.36 KB lrw-r--r-- 2014-10-15 15:31:03
Edit Download
7.86 KB lrw-r--r-- 2013-05-23 21:46:43
Edit Download
15.38 KB lrw-r--r-- 2013-05-19 14:50:47
Edit Download
8.86 KB lrw-r--r-- 2014-07-06 13:57:45
Edit Download
17.05 KB lrw-r--r-- 2015-10-29 14:36:05
Edit Download
20.03 KB lrw-r--r-- 2016-03-25 08:22:04
Edit Download
1.74 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
5.74 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
22.37 KB lrw-r--r-- 2016-02-25 11:04:33
Edit Download
6.52 KB lrw-r--r-- 2011-08-26 22:22:37
Edit Download
45.43 KB lrw-r--r-- 2014-07-11 14:08:51
Edit Download
80.50 KB lrw-r--r-- 2023-07-26 14:19:40
Edit Download
6.93 KB lrw-r--r-- 2012-11-16 16:55:29
Edit Download
2.00 KB lrw-r--r-- 2013-02-20 02:51:51
Edit Download
5.81 KB lrw-r--r-- 2013-11-21 04:44:45
Edit Download
24.27 KB lrw-r--r-- 2014-02-22 08:54:43
Edit Download
20.37 KB lrw-r--r-- 2013-12-01 03:13:11
Edit Download
528 B lrw-r--r-- 2023-07-26 14:22:11
Edit Download
50.80 KB lrw-r--r-- 2013-11-28 07:34:15
Edit Download
7.70 KB lrw-r--r-- 2013-10-23 15:14:17
Edit Download
15.30 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
14.10 KB lrw-r--r-- 2013-10-22 09:29:53
Edit Download
16.33 KB lrw-r--r-- 2013-05-19 03:10:21
Edit Download
13.20 KB lrw-r--r-- 2013-07-15 04:21:34
Edit Download
205 B lrw-r--r-- 2009-10-02 10:45:39
Edit Download
4.51 KB lrw-r--r-- 2013-05-19 23:04:36
Edit Download
14.85 KB lrw-r--r-- 2012-11-11 04:23:04
Edit Download
14.88 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
2.12 KB lrw-r--r-- 2013-10-11 21:35:01
Edit Download
308 B lrw-r--r-- 2009-09-24 00:42:23
Edit Download
4.92 KB lrw-r--r-- 2013-12-22 10:25:26
Edit Download
1.73 KB lrw-r--r-- 2013-03-11 13:47:04
Edit Download
72.31 KB lrw-r--r-- 2015-05-13 05:33:45
Edit Download
2.53 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
2.84 KB lrw-r--r-- 2011-05-11 10:22:16
Edit Download
30.97 KB lrw-r--r-- 2023-07-26 14:19:40
Edit Download
23.54 KB lrw-r--r-- 2013-12-14 02:55:33
Edit Download
8.49 KB lrw-r--r-- 2013-11-07 18:04:05
Edit Download
18.70 KB lrw-r--r-- 2013-11-22 23:50:06
Edit Download
10.30 KB lrw-r--r-- 2013-05-19 03:10:21
Edit Download
5.94 KB lrw-r--r-- 2013-12-14 18:26:59
Edit Download
4.02 KB lrw-r--r-- 2011-05-18 14:09:38
Edit Download
25.60 KB lrw-r--r-- 2023-07-26 14:22:11
Edit Download
7.25 KB lrw-r--r-- 2013-05-19 03:10:21
Edit Download
11.40 KB lrw-r--r-- 2013-11-21 09:28:43
Edit Download
3.38 KB lrw-r--r-- 2013-11-07 17:02:56
Edit Download
21.32 KB lrw-r--r-- 2015-08-17 07:41:58
Edit Download
3.70 KB lrw-r--r-- 2015-08-17 07:55:26
Edit Download
4.15 KB lrw-r--r-- 2013-05-19 03:10:21
Edit Download
6.40 KB lrw-r--r-- 2013-07-18 13:50:32
Edit Download
14.14 KB lrw-r--r-- 2013-10-17 15:59:40
Edit Download
268 B lrw-r--r-- 2009-10-02 10:45:39
Edit Download
8.87 KB lrw-r--r-- 2013-07-05 13:43:25
Edit Download
3.07 KB lrw-r--r-- 2011-05-13 20:03:21
Edit Download
3.23 KB lrw-r--r-- 2013-11-09 22:42:20
Edit Download
6.69 KB lrw-r--r-- 2013-10-05 23:39:32
Edit Download
8.49 KB lrw-r--r-- 2013-12-12 03:09:19
Edit Download
2.31 KB lrw-r--r-- 2013-08-12 03:49:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).