HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/doc/ruby/html/globals_rdoc.html
<!DOCTYPE html>

<html>
<head>
<meta charset="UTF-8">

<title>globals - RDoc Documentation</title>

<script type="text/javascript">
  var rdoc_rel_prefix = "./";
  var index_rel_prefix = "./";
</script>

<script src="./js/navigation.js" defer></script>
<script src="./js/search.js" defer></script>
<script src="./js/search_index.js" defer></script>
<script src="./js/searcher.js" defer></script>
<script src="./js/darkfish.js" defer></script>

<link href="./css/fonts.css" rel="stylesheet">
<link href="./css/rdoc.css" rel="stylesheet">




<body id="top" role="document" class="file">
<nav role="navigation">
  <div id="project-navigation">
    <div id="home-section" role="region" title="Quick navigation" class="nav-section">
  <h2>
    <a href="./index.html" rel="home">Home</a>
  </h2>

  <div id="table-of-contents-navigation">
    <a href="./table_of_contents.html#pages">Pages</a>
    <a href="./table_of_contents.html#classes">Classes</a>
    <a href="./table_of_contents.html#methods">Methods</a>
  </div>
</div>

    <div id="search-section" role="search" class="project-section initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <div id="search-field-wrapper">
      <input id="search-field" role="combobox" aria-label="Search"
             aria-autocomplete="list" aria-controls="search-results"
             type="text" name="search" placeholder="Search" spellcheck="false"
             title="Type to search, Up and Down to navigate, Enter to load">
    </div>

    <ul id="search-results" aria-label="Search Results"
        aria-busy="false" aria-expanded="false"
        aria-atomic="false" class="initially-hidden"></ul>
  </form>
</div>

  </div>

  
<div class="nav-section">
  <h3>Table of Contents</h3>

  <ul class="link-list" role="directory">
    <li><a href="#label-Pre-defined+global+variables">Pre-defined global variables</a>
    <li><a href="#label-Pre-defined+global+constants">Pre-defined global constants</a>
  </ul>
</div>


  <div id="project-metadata">
    <div id="fileindex-section" class="nav-section">
  <h3>Pages</h3>

  <ul class="link-list">
  
    <li><a href="./CONTRIBUTING_md.html">CONTRIBUTING</a>
  
    <li><a href="./COPYING.html">COPYING</a>
  
    <li><a href="./COPYING_ja.html">COPYING.ja</a>
  
    <li><a href="./LEGAL.html">LEGAL</a>
  
    <li><a href="./NEWS.html">NEWS</a>
  
    <li><a href="./NEWS-1_8_7.html">NEWS-1.8.7</a>
  
    <li><a href="./NEWS-1_9_1.html">NEWS-1.9.1</a>
  
    <li><a href="./NEWS-1_9_2.html">NEWS-1.9.2</a>
  
    <li><a href="./NEWS-1_9_3.html">NEWS-1.9.3</a>
  
    <li><a href="./NEWS-2_0_0.html">NEWS-2.0.0</a>
  
    <li><a href="./NEWS-2_1_0.html">NEWS-2.1.0</a>
  
    <li><a href="./NEWS-2_2_0.html">NEWS-2.2.0</a>
  
    <li><a href="./NEWS-2_3_0.html">NEWS-2.3.0</a>
  
    <li><a href="./NEWS-2_4_0.html">NEWS-2.4.0</a>
  
    <li><a href="./NEWS-2_5_0.html">NEWS-2.5.0</a>
  
    <li><a href="./NEWS-2_6_0.html">NEWS-2.6.0</a>
  
    <li><a href="./README_ja_md.html">README.ja</a>
  
    <li><a href="./README_md.html">README</a>
  
    <li><a href="./bug_triaging_rdoc.html">bug_triaging</a>
  
    <li><a href="./contributing_rdoc.html">contributing</a>
  
    <li><a href="./contributors_rdoc.html">contributors</a>
  
    <li><a href="./dtrace_probes_rdoc.html">dtrace_probes</a>
  
    <li><a href="./extension_ja_rdoc.html">extension.ja</a>
  
    <li><a href="./extension_rdoc.html">extension</a>
  
    <li><a href="./globals_rdoc.html">globals</a>
  
    <li><a href="./keywords_rdoc.html">keywords</a>
  
    <li><a href="./lib/racc/pre-setup.html">pre-setup</a>
  
    <li><a href="./lib/racc/rdoc/grammar_en_rdoc.html">grammar.en</a>
  
    <li><a href="./maintainers_rdoc.html">maintainers</a>
  
    <li><a href="./marshal_rdoc.html">marshal</a>
  
    <li><a href="./regexp_rdoc.html">regexp</a>
  
    <li><a href="./security_rdoc.html">security</a>
  
    <li><a href="./signals_rdoc.html">signals</a>
  
    <li><a href="./standard_library_rdoc.html">standard_library</a>
  
    <li><a href="./syntax_rdoc.html">syntax</a>
  
    <li><a href="./syntax/assignment_rdoc.html">assignment</a>
  
    <li><a href="./syntax/calling_methods_rdoc.html">calling_methods</a>
  
    <li><a href="./syntax/comments_rdoc.html">comments</a>
  
    <li><a href="./syntax/control_expressions_rdoc.html">control_expressions</a>
  
    <li><a href="./syntax/exceptions_rdoc.html">exceptions</a>
  
    <li><a href="./syntax/literals_rdoc.html">literals</a>
  
    <li><a href="./syntax/methods_rdoc.html">methods</a>
  
    <li><a href="./syntax/miscellaneous_rdoc.html">miscellaneous</a>
  
    <li><a href="./syntax/modules_and_classes_rdoc.html">modules_and_classes</a>
  
    <li><a href="./syntax/precedence_rdoc.html">precedence</a>
  
    <li><a href="./syntax/refinements_rdoc.html">refinements</a>
  
    <li><a href="./win32/README_win32.html">README.win32</a>
  
  </ul>
</div>

  </div>
</nav>

<main role="main" aria-label="Page globals.rdoc">

<h2 id="label-Pre-defined+global+variables">Pre-defined global variables<span><a href="#label-Pre-defined+global+variables">&para;</a> <a href="#top">&uarr;</a></span></h2>
<dl class="rdoc-list note-list"><dt>$!
<dd>
<p>The <a href="Exception.html"><code>Exception</code></a> object set by <a href="Kernel.html#method-i-raise"><code>Kernel#raise</code></a>.</p>
</dd><dt>$@
<dd>
<p>The same as <code>$!.backtrace</code>.</p>
</dd><dt>$~
<dd>
<p>The information about the last match in the current scope (thread-local and frame-local).</p>
</dd><dt>$&amp;
<dd>
<p>The string matched by the last successful match.</p>
</dd><dt>$`
<dd>
<p>The string to the left  of the last successful match.</p>
</dd><dt>$&#39;
<dd>
<p>The string to the right of the last successful match.</p>
</dd><dt>$+
<dd>
<p>The highest group matched by the last successful match.</p>
</dd><dt>$1
<dd>
<p>The Nth group of the last successful match. May be &gt; 1.</p>
</dd><dt>$=
<dd>
<p>This variable is no longer effective. Deprecated.</p>
</dd><dt>$/
<dd>
<p>The input record separator, newline by default. Aliased to $-0.</p>
</dd><dt>$\
<dd>
<p>The output record separator for <a href="Kernel.html#method-i-print"><code>Kernel#print</code></a> and <a href="IO.html#method-i-write"><code>IO#write</code></a>. Default is <code>nil</code>.</p>
</dd><dt>$,
<dd>
<p>The output field separator for <a href="Kernel.html#method-i-print"><code>Kernel#print</code></a> and <a href="Array.html#method-i-join"><code>Array#join</code></a>. Non-nil $, will be deprecated.</p>
</dd><dt>$;
<dd>
<p>The default separator for <a href="String.html#method-i-split"><code>String#split</code></a>. Non-nil $; will be deprecated. Aliased to $-F.</p>
</dd><dt>$.
<dd>
<p>The current input line number of the last file that was read.</p>
</dd><dt>$&lt;
<dd>
<p>The same as <a href="ARGF.html"><code>ARGF</code></a>.</p>
</dd><dt>$&gt;
<dd>
<p>The default output stream for <a href="Kernel.html#method-i-print"><code>Kernel#print</code></a> and <a href="Kernel.html#method-i-printf"><code>Kernel#printf</code></a>. $stdout by default.</p>
</dd><dt>$_
<dd>
<p>The last input line of string by gets or readline.</p>
</dd><dt>$0
<dd>
<p>Contains the name of the script being executed. May be assignable.</p>
</dd><dt>$*
<dd>
<p>The same as ARGV.</p>
</dd><dt>$$
<dd>
<p>The process number of the Ruby running this script. Same as <a href="Process.html#method-c-pid"><code>Process.pid</code></a>.</p>
</dd><dt>$?
<dd>
<p>The status of the last executed child process (thread-local).</p>
</dd><dt>$LOAD_PATH
<dd>
<p>Load path for searching Ruby scripts and extension libraries used by <a href="Kernel.html#method-i-load"><code>Kernel#load</code></a> and <a href="Kernel.html#method-i-require"><code>Kernel#require</code></a>. Aliased to $: and $-I. Has a singleton method <code>$LOAD_PATH.resolve_feature_path(feature)</code> that returns [<code>:rb</code> or <code>:so</code>, path], which resolves the feature to the path the original <a href="Kernel.html#method-i-require"><code>Kernel#require</code></a> method would load.</p>
</dd><dt>$LOADED_FEATURES
<dd>
<p>The array contains the module names loaded by require. Aliased to $“.</p>
</dd><dt>$DEBUG
<dd>
<p>The debug flag, which is set by the <code>-d</code> switch.  Enabling debug output prints each exception raised to $stderr (but not its backtrace).  Setting this to a true value enables debug output as if <code>-d</code> were given on the command line.  Setting this to a false value disables debug output. Aliased to $-d.</p>
</dd><dt>$FILENAME
<dd>
<p>Current input filename from <a href="ARGF.html"><code>ARGF</code></a>. Same as <a href="ARGF.html#method-i-filename"><code>ARGF.filename</code></a>.</p>
</dd><dt>$stderr
<dd>
<p>The current standard error output.</p>
</dd><dt>$stdin
<dd>
<p>The current standard input.</p>
</dd><dt>$stdout
<dd>
<p>The current standard output.</p>
</dd><dt>$VERBOSE
<dd>
<p>The verbose flag, which is set by the <code>-w</code> or <code>-v</code> switch. Setting this to a true value enables warnings as if <code>-w</code> or <code>-v</code> were given on the command line.  Setting this to <code>nil</code> disables warnings, including from <a href="Kernel.html#method-i-warn"><code>Kernel#warn</code></a>. Aliased to $-v and $-w.</p>
</dd><dt>$-a
<dd>
<p>True if option <code>-a</code> is set. Read-only variable.</p>
</dd><dt>$-i
<dd>
<p>In in-place-edit mode, this variable holds the extension, otherwise <code>nil</code>.</p>
</dd><dt>$-l
<dd>
<p>True if option <code>-l</code> is set. Read-only variable.</p>
</dd><dt>$-p
<dd>
<p>True if option <code>-p</code> is set. Read-only variable.</p>
</dd></dl>

<h2 id="label-Pre-defined+global+constants">Pre-defined global constants<span><a href="#label-Pre-defined+global+constants">&para;</a> <a href="#top">&uarr;</a></span></h2>
<dl class="rdoc-list note-list"><dt>TRUE
<dd>
<p>The typical true value. Deprecated.</p>
</dd><dt>FALSE
<dd>
<p>The <code>false</code> itself. Deprecated.</p>
</dd><dt>NIL
<dd>
<p>The <code>nil</code> itself. Deprecated.</p>
</dd><dt>STDIN
<dd>
<p>The standard input. The default value for $stdin.</p>
</dd><dt>STDOUT
<dd>
<p>The standard output. The default value for $stdout.</p>
</dd><dt>STDERR
<dd>
<p>The standard error output. The default value for $stderr.</p>
</dd><dt><a href="ENV.html"><code>ENV</code></a>
<dd>
<p>The hash contains current environment variables.</p>
</dd><dt><a href="ARGF.html"><code>ARGF</code></a>
<dd>
<p>The virtual concatenation of the files given on command line (or from $stdin if no files were given).</p>
</dd><dt>ARGV
<dd>
<p>An <a href="Array.html"><code>Array</code></a> of command line arguments given for the script.</p>
</dd><dt>DATA
<dd>
<p>The file object of the script, pointing just after <code>__END__</code>.</p>
</dd><dt>TOPLEVEL_BINDING
<dd>
<p>The <a href="Binding.html"><code>Binding</code></a> of the top level scope.</p>
</dd><dt>RUBY_VERSION
<dd>
<p>The Ruby language version.</p>
</dd><dt>RUBY_RELEASE_DATE
<dd>
<p>The release date string.</p>
</dd><dt>RUBY_PLATFORM
<dd>
<p>The platform identifier.</p>
</dd><dt>RUBY_PATCHLEVEL
<dd>
<p>The patchlevel for this Ruby.  If this is a development build of Ruby the patchlevel will be -1.</p>
</dd><dt>RUBY_REVISION
<dd>
<p>The GIT commit hash for this Ruby.</p>
</dd><dt>RUBY_COPYRIGHT
<dd>
<p>The copyright string for Ruby.</p>
</dd><dt>RUBY_ENGINE
<dd>
<p>The name of the Ruby implementation.</p>
</dd><dt>RUBY_ENGINE_VERSION
<dd>
<p>The version of the Ruby implementation.</p>
</dd><dt>RUBY_DESCRIPTION
<dd>
<p>The same as <code>ruby --version</code>, a <a href="String.html"><code>String</code></a> describing various aspects of the Ruby implementation.</p>
</dd></dl>

</main>



<footer id="validator-badges" role="contentinfo">
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
  <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.1.
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>