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/NEWS-1_8_7.html
<!DOCTYPE html>

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

<title>NEWS-1.8.7 - 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-NEWS+for+Ruby+1.8.7">NEWS for Ruby 1.8.7</a>
    <li><a href="#label-Changes+since+the+1.8.6+release">Changes since the 1.8.6 release</a>
    <li><a href="#label-Configuration+changes">Configuration changes</a>
    <li><a href="#label-Global+constants">Global constants</a>
    <li><a href="#label-Library+updates+-28outstanding+ones+only-29">Library updates (outstanding ones only)</a>
    <li><a href="#label-Interpreter+Implementation">Interpreter Implementation</a>
    <li><a href="#label-Compatibility+issues+-28excluding+feature+bug+fixes-29">Compatibility issues (excluding feature bug fixes)</a>
    <li><a href="#label-Changes+since+the+1.8.5+release">Changes since the 1.8.5 release</a>
    <li><a href="#label-New+platforms-2Fbuild+tools+support">New platforms/build tools support</a>
    <li><a href="#label-Global+constants">Global constants</a>
    <li><a href="#label-Library+updates+-28outstanding+ones+only-29">Library updates (outstanding ones only)</a>
    <li><a href="#label-Compatibility+issues+-28excluding+feature+bug+fixes-29">Compatibility issues (excluding feature bug fixes)</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 NEWS-1.8.7">

<h1 id="label-NEWS+for+Ruby+1.8.7"><a href="NEWS.html">NEWS</a> for Ruby 1.8.7<span><a href="#label-NEWS+for+Ruby+1.8.7">&para;</a> <a href="#top">&uarr;</a></span></h1>

<p>This document is a list of user visible feature changes made between releases except for bug fixes.</p>

<p>Note that each entry is kept so brief that no reason behind or reference information is supplied with.  For a full list of changes with all sufficient information, see the ChangeLog file.</p>

<h2 id="label-Changes+since+the+1.8.6+release">Changes since the 1.8.6 release<span><a href="#label-Changes+since+the+1.8.6+release">&para;</a> <a href="#top">&uarr;</a></span></h2>

<h3 id="label-Configuration+changes">Configuration changes<span><a href="#label-Configuration+changes">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>default C flags</p>

<p>Some C compiler flags may be added by default depending on your environment.  Specify optflags=.. and warnflags=.. as necessary to override them.</p>
</li><li>
<p>vendor_ruby directory</p>

<p>A new library directory named `vendor_ruby&#39; is introduced in addition to `site_ruby&#39;.  The idea is to separate libraries installed by the package system (`vendor&#39;) from manually (`site&#39;) installed libraries preventing the former from getting overwritten by the latter, while preserving the user option to override vendor libraries with site libraries. (`site_ruby&#39; takes precedence over `vendor_ruby&#39;)</p>

<p>If you are a package maintainer, make each library package configure the library passing the `–vendor&#39; option to `extconf.rb&#39; so that the library files will get installed under `vendor_ruby&#39;.</p>

<p>You can change the directory locations using configure options such as `–with-sitedir=DIR&#39; and `–with-vendordir=DIR&#39;.</p>
</li></ul>

<h3 id="label-Global+constants">Global constants<span><a href="#label-Global+constants">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>new constants</p>
<ul><li>
<p>RUBY_COPYRIGHT</p>
</li><li>
<p>RUBY_DESCRIPTION</p>
</li></ul>
</li></ul>

<h3 id="label-Library+updates+-28outstanding+ones+only-29">Library updates (outstanding ones only)<span><a href="#label-Library+updates+-28outstanding+ones+only-29">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>new library</p>
<ul><li>
<p>securerandom</p>
</li></ul>
</li><li>
<p>builtin classes</p>
<ul><li>
<p><a href="Array.html#method-i-flatten"><code>Array#flatten</code></a></p>
</li><li>
<p><a href="Array.html#method-i-flatten-21"><code>Array#flatten!</code></a></p>

<p>Takes an optional argument that determines the level of recursion to flatten.</p>
</li><li>
<p><a href="Array.html#method-i-eql-3F"><code>Array#eql?</code></a></p>
</li><li>
<p><a href="Array.html#method-i-hash"><code>Array#hash</code></a></p>
</li><li>
<p>Array#==</p>
</li><li>
<p>Array#&lt;=&gt;</p>

<p>Handle recursive data properly.</p>
</li><li>
<p><a href="Array.html#method-i-index"><code>Array#index</code></a></p>
</li><li>
<p><a href="Array.html#method-i-rindex"><code>Array#rindex</code></a></p>

<p>Use a given block if no argument is given.</p>
</li><li>
<p><a href="Array.html#method-i-collect-21"><code>Array#collect!</code></a></p>
</li><li>
<p><a href="Array.html#method-i-map-21"><code>Array#map!</code></a></p>
</li><li>
<p><a href="Array.html#method-i-each"><code>Array#each</code></a></p>
</li><li>
<p><a href="Array.html#method-i-each_index"><code>Array#each_index</code></a></p>
</li><li>
<p><a href="Array.html#method-i-reverse_each"><code>Array#reverse_each</code></a></p>
</li><li>
<p><a href="Array.html#method-i-reject"><code>Array#reject</code></a></p>
</li><li>
<p><a href="Array.html#method-i-reject-21"><code>Array#reject!</code></a></p>
</li><li>
<p><a href="Array.html#method-i-delete_if"><code>Array#delete_if</code></a></p>
</li><li>
<p><a href="Array.html#method-i-select"><code>Array#select</code></a></p>

<p>Return an enumerator if no block is given.</p>

<p>Note that map and collect still return an array unlike Ruby 1.9 to keep compatibility.</p>
</li><li>
<p><a href="Array.html#method-i-pop"><code>Array#pop</code></a></p>
</li><li>
<p><a href="Array.html#method-i-shift"><code>Array#shift</code></a></p>

<p>Take an optional argument specifying the number of elements to remove.</p>
</li><li>
<p>Array#choice</p>
</li><li>
<p><a href="Array.html#method-i-combination"><code>Array#combination</code></a></p>
</li><li>
<p><a href="Array.html#method-i-cycle"><code>Array#cycle</code></a></p>
</li><li>
<p><a href="Array.html#method-i-drop"><code>Array#drop</code></a></p>
</li><li>
<p><a href="Array.html#method-i-drop_while"><code>Array#drop_while</code></a></p>
</li><li>
<p><a href="Array.html#method-i-permutation"><code>Array#permutation</code></a></p>
</li><li>
<p><a href="Array.html#method-i-product"><code>Array#product</code></a></p>
</li><li>
<p><a href="Array.html#method-i-shuffle"><code>Array#shuffle</code></a></p>
</li><li>
<p><a href="Array.html#method-i-shuffle-21"><code>Array#shuffle!</code></a></p>
</li><li>
<p><a href="Array.html#method-i-take"><code>Array#take</code></a>,</p>
</li><li>
<p><a href="Array.html#method-i-take_while"><code>Array#take_while</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="Binding.html#method-i-eval"><code>Binding#eval</code></a></p>

<p>New method.</p>
</li><li>
<p><a href="Dir.html#method-i-each"><code>Dir#each</code></a></p>
</li><li>
<p>Dir#foreach</p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p>Enumerable::Enumerator</p>

<p>New class for various enumeration defined by the enumerator library.</p>
</li><li>
<p><a href="Enumerable.html#method-i-each_slice"><code>Enumerable#each_slice</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-each_cons"><code>Enumerable#each_cons</code></a></p>
</li><li>
<p><a href="Object.html#method-i-to_enum"><code>Object#to_enum</code></a></p>
</li><li>
<p><a href="Object.html#method-i-enum_for"><code>Object#enum_for</code></a></p>

<p>New methods for various enumeration defined by the enumerator library.</p>
</li><li>
<p><a href="Enumerable.html#method-i-count"><code>Enumerable#count</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-cycle"><code>Enumerable#cycle</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-drop"><code>Enumerable#drop</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-drop_while"><code>Enumerable#drop_while</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-find_index"><code>Enumerable#find_index</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-first"><code>Enumerable#first</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-group_by"><code>Enumerable#group_by</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-max_by"><code>Enumerable#max_by</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-min_by"><code>Enumerable#min_by</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-minmax"><code>Enumerable#minmax</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-minmax_by"><code>Enumerable#minmax_by</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-none-3F"><code>Enumerable#none?</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-one-3F"><code>Enumerable#one?</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-take"><code>Enumerable#take</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-take_while"><code>Enumerable#take_while</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="Enumerable.html#method-i-find"><code>Enumerable#find</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-find_all"><code>Enumerable#find_all</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-partition"><code>Enumerable#partition</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-reject"><code>Enumerable#reject</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-select"><code>Enumerable#select</code></a></p>
</li><li>
<p><a href="Enumerable.html#method-i-sort_by"><code>Enumerable#sort_by</code></a></p>

<p>Return an enumerator if no block is given.</p>

<p>Note that map and collect still return an array unlike Ruby 1.9 to keep compatibility.</p>
</li><li>
<p><a href="Enumerable.html#method-i-inject"><code>Enumerable#inject</code></a></p>

<p>Accepts a binary operator instead of a block.</p>
</li><li>
<p><a href="Enumerable.html#method-i-reduce"><code>Enumerable#reduce</code></a></p>

<p>New alias to inject.</p>
</li><li>
<p><a href="Enumerable.html#method-i-to_a"><code>Enumerable#to_a</code></a></p>

<p>Can take optional arguments and pass them to each.</p>
</li><li>
<p><a href="Hash.html#method-i-eql-3F"><code>Hash#eql?</code></a></p>
</li><li>
<p><a href="Hash.html#method-i-hash"><code>Hash#hash</code></a></p>
</li><li>
<p>Hash#==</p>

<p>Handle recursive data properly.</p>
</li><li>
<p><a href="Hash.html#method-i-delete_if"><code>Hash#delete_if</code></a></p>
</li><li>
<p><a href="Hash.html#method-i-each"><code>Hash#each</code></a></p>
</li><li>
<p><a href="Hash.html#method-i-each_key"><code>Hash#each_key</code></a></p>
</li><li>
<p><a href="Hash.html#method-i-each_pair"><code>Hash#each_pair</code></a></p>
</li><li>
<p><a href="Hash.html#method-i-each_value"><code>Hash#each_value</code></a></p>
</li><li>
<p><a href="Hash.html#method-i-reject-21"><code>Hash#reject!</code></a></p>
</li><li>
<p><a href="Hash.html#method-i-select"><code>Hash#select</code></a></p>
</li><li>
<p><a href="ENV.html#method-c-delete_if"><code>ENV.delete_if</code></a></p>
</li><li>
<p><a href="ENV.html#method-c-each"><code>ENV.each</code></a></p>
</li><li>
<p><a href="ENV.html#method-c-each_key"><code>ENV.each_key</code></a></p>
</li><li>
<p><a href="ENV.html#method-c-each_pair"><code>ENV.each_pair</code></a></p>
</li><li>
<p><a href="ENV.html#method-c-each_value"><code>ENV.each_value</code></a></p>
</li><li>
<p><a href="ENV.html#method-c-reject-21"><code>ENV.reject!</code></a></p>
</li><li>
<p><a href="ENV.html#method-c-select"><code>ENV.select</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="GC.html#method-c-stress"><code>GC.stress</code></a></p>
</li><li>
<p><a href="GC.html#method-c-stress-3D"><code>GC.stress=</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="Integer.html#method-i-ord"><code>Integer#ord</code></a></p>
</li><li>
<p><a href="Integer.html#method-i-odd-3F"><code>Integer#odd?</code></a></p>
</li><li>
<p><a href="Integer.html#method-i-even-3F"><code>Integer#even?</code></a></p>
</li><li>
<p><a href="Integer.html#method-i-pred"><code>Integer#pred</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="Integer.html#method-i-downto"><code>Integer#downto</code></a></p>
</li><li>
<p><a href="Integer.html#method-i-times"><code>Integer#times</code></a></p>
</li><li>
<p><a href="Integer.html#method-i-upto"><code>Integer#upto</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="IO.html#method-i-each"><code>IO#each</code></a></p>
</li><li>
<p><a href="IO.html#method-i-each_line"><code>IO#each_line</code></a></p>
</li><li>
<p><a href="IO.html#method-i-each_byte"><code>IO#each_byte</code></a></p>
</li><li>
<p><a href="IO.html#method-c-foreach"><code>IO.foreach</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-each"><code>ARGF.each</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-each_line"><code>ARGF.each_line</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-each_byte"><code>ARGF.each_byte</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="IO.html#method-i-bytes"><code>IO#bytes</code></a></p>
</li><li>
<p><a href="IO.html#method-i-chars"><code>IO#chars</code></a></p>
</li><li>
<p><a href="IO.html#method-i-each_char"><code>IO#each_char</code></a></p>
</li><li>
<p><a href="IO.html#method-i-getbyte"><code>IO#getbyte</code></a></p>
</li><li>
<p><a href="IO.html#method-i-lines"><code>IO#lines</code></a></p>
</li><li>
<p><a href="IO.html#method-i-readbyte"><code>IO#readbyte</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-bytes"><code>ARGF.bytes</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-chars"><code>ARGF.chars</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-each_char"><code>ARGF.each_char</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-getbyte"><code>ARGF.getbyte</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-lines"><code>ARGF.lines</code></a></p>
</li><li>
<p><a href="ARGF.html#method-i-readbyte"><code>ARGF.readbyte</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="Method.html#method-i-name"><code>Method#name</code></a></p>
</li><li>
<p><a href="Method.html#method-i-owner"><code>Method#owner</code></a></p>
</li><li>
<p><a href="Method.html#method-i-receiver"><code>Method#receiver</code></a></p>
</li><li>
<p><a href="UnboundMethod.html#method-i-name"><code>UnboundMethod#name</code></a></p>
</li><li>
<p><a href="UnboundMethod.html#method-i-owner"><code>UnboundMethod#owner</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="Module.html#method-i-class_exec"><code>Module#class_exec</code></a></p>
</li><li>
<p><a href="Module.html#method-i-module_exec"><code>Module#module_exec</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="Numeric.html#method-i-step"><code>Numeric#step</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="BasicObject.html#method-i-instance_exec"><code>Object#instance_exec</code></a></p>
</li><li>
<p><a href="Object.html#method-i-tap"><code>Object#tap</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="ObjectSpace.html#method-c-each_object"><code>ObjectSpace.each_object</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="Process.html#method-c-exec"><code>Process.exec</code></a> implemented.</p>
</li><li>
<p><a href="Range.html#method-i-each"><code>Range#each</code></a></p>
</li><li>
<p><a href="Range.html#method-i-step"><code>Range#step</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="Regexp.html#method-c-union"><code>Regexp.union</code></a> accepts an array of patterns.</p>
</li><li>
<p><a href="String.html#method-i-bytes"><code>String#bytes</code></a></p>

<p>New method</p>
</li><li>
<p><a href="String.html#method-i-bytesize"><code>String#bytesize</code></a></p>

<p>New method, returning the size in bytes. (alias length and size)</p>
</li><li>
<p><a href="String.html#method-i-chars"><code>String#chars</code></a></p>
</li><li>
<p><a href="String.html#method-i-each_char"><code>String#each_char</code></a></p>
</li><li>
<p><a href="String.html#method-i-lines"><code>String#lines</code></a></p>
</li><li>
<p><a href="String.html#method-i-partition"><code>String#partition</code></a></p>
</li><li>
<p><a href="String.html#method-i-rpartition"><code>String#rpartition</code></a></p>
</li><li>
<p><a href="String.html#method-i-start_with-3F"><code>String#start_with?</code></a></p>
</li><li>
<p><a href="String.html#method-i-end_with-3F"><code>String#end_with?</code></a></p>

<p>New methods.  These are $KCODE aware unlike index, rindex and include?.</p>
</li><li>
<p><a href="String.html#method-i-each_byte"><code>String#each_byte</code></a></p>
</li><li>
<p>String#each</p>
</li><li>
<p><a href="String.html#method-i-each_line"><code>String#each_line</code></a></p>
</li><li>
<p><a href="String.html#method-i-gsub"><code>String#gsub(pattern)</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="String.html#method-i-upto"><code>String#upto</code></a></p>

<p>An optional second argument is added to specify if the last value should be included.</p>
</li><li>
<p><a href="StopIteration.html"><code>StopIteration</code></a></p>

<p>New exception class that causes <a href="Kernel.html#method-i-loop"><code>Kernel#loop</code></a> to stop iteration when raised.</p>
</li><li>
<p><a href="Struct.html#method-i-each"><code>Struct#each</code></a></p>
</li><li>
<p><a href="Struct.html#method-i-each_pair"><code>Struct#each_pair</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li><li>
<p><a href="Symbol.html#method-i-to_proc"><code>Symbol#to_proc</code></a></p>

<p>New method.</p>
</li><li>
<p>__method__</p>

<p>New global function that returns the name of the current method as a <a href="Symbol.html"><code>Symbol</code></a>.</p>
</li></ul>
</li><li>
<p>enumerator</p>
<ul><li>
<p><a href="Enumerator.html"><code>Enumerator</code></a> is now a built-in module.  The next and rewind methods are implemented using the “generator” library.  Use with care and be aware of the performance loss.</p>
</li></ul>
</li><li>
<p>ipaddr</p>
<ul><li>
<p>New methods</p>
<ul><li>
<p>IPAddr#&lt;=&gt;</p>
</li><li>
<p><a href="IPAddr.html#method-i-succ"><code>IPAddr#succ</code></a></p>

<p><a href="IPAddr.html"><code>IPAddr</code></a> objects are now comparable and enumerable having these methods.  This also means that it is possible to have a <a href="Range.html"><code>Range</code></a> object between two <a href="IPAddr.html"><code>IPAddr</code></a> objects.</p>
</li><li>
<p><a href="IPAddr.html#method-i-to_range"><code>IPAddr#to_range</code></a></p>

<p>A new method to create a <a href="Range.html"><code>Range</code></a> object for the (network) address.</p>
</li></ul>
</li><li>
<p>Type coercion support</p>
<ul><li>
<p>IPAddr#&amp;</p>
</li><li>
<p>IPAddr#|</p>
</li><li>
<p>IPAddr#==</p>
</li><li>
<p><a href="IPAddr.html#method-i-include-3F"><code>IPAddr#include?</code></a></p>

<p>These methods now accept a string or an integer instead of an <a href="IPAddr.html"><code>IPAddr</code></a> object as the argument.</p>
</li></ul>
</li></ul>
</li><li>
<p>net/smtp</p>
<ul><li>
<p>Support SSL/TLS.</p>
</li></ul>
</li><li>
<p>openssl</p>
<ul><li>
<p>New classes</p>
<ul><li>
<p><a href="OpenSSL/PKey/EC.html"><code>OpenSSL::PKey::EC</code></a></p>
</li><li>
<p><a href="OpenSSL/PKey/EC/Group.html"><code>OpenSSL::PKey::EC::Group</code></a></p>
</li><li>
<p><a href="OpenSSL/PKey/EC/Point.html"><code>OpenSSL::PKey::EC::Point</code></a></p>
</li><li>
<p>OpenSSL::PKey::PKCS5</p>
</li><li>
<p><a href="OpenSSL/SSL/Session.html"><code>OpenSSL::SSL::Session</code></a></p>
</li></ul>
</li><li>
<p>Documentation!</p>
</li><li>
<p>Various new methods (see documentation).</p>
</li><li>
<p>Remove redundant module namespace in Cipher, <a href="Digest.html"><code>Digest</code></a>, PKCS7, PKCS12. Compatibility classes are provided which will be removed in Ruby 1.9.</p>
</li></ul>
</li><li>
<p>shellwords</p>
<ul><li>
<p>Add methods for escaping shell-unsafe characters:</p>
<ul><li>
<p><a href="Shellwords.html#method-c-join"><code>Shellwords.join</code></a></p>
</li><li>
<p><a href="Shellwords.html#method-c-escape"><code>Shellwords.escape</code></a></p>
</li><li>
<p><a href="Array.html#method-i-shelljoin"><code>Array#shelljoin</code></a></p>
</li><li>
<p><a href="String.html#method-i-shellescape"><code>String#shellescape</code></a></p>
</li></ul>
</li><li>
<p>Add shorthand methods:</p>
<ul><li>
<p><a href="Shellwords.html#method-c-split"><code>Shellwords.split</code></a> (alias shellwords)</p>
</li><li>
<p><a href="String.html#method-i-shellsplit"><code>String#shellsplit</code></a></p>
</li></ul>
</li></ul>
</li><li>
<p>stringio</p>
<ul><li>
<p><a href="StringIO.html#method-i-getbyte"><code>StringIO#getbyte</code></a></p>
</li><li>
<p><a href="IO/generic_readable.html#method-i-readbyte"><code>StringIO#readbyte</code></a></p>

<p>New methods. (aliases for compatibility with 1.9)</p>
</li><li>
<p><a href="StringIO.html#method-i-each_char"><code>StringIO#each_char</code></a></p>
</li><li>
<p><a href="StringIO.html#method-i-chars"><code>StringIO#chars</code></a></p>

<p>New methods.</p>
</li><li>
<p><a href="StringIO.html#method-i-each"><code>StringIO#each</code></a></p>
</li><li>
<p><a href="StringIO.html#method-i-each_line"><code>StringIO#each_line</code></a></p>
</li><li>
<p><a href="StringIO.html#method-i-each_byte"><code>StringIO#each_byte</code></a></p>

<p>Return an enumerator if no block is given.</p>
</li></ul>
</li><li>
<p>tempfile</p>
<ul><li>
<p><a href="Tempfile.html#method-c-open"><code>Tempfile.open</code></a> and <a href="Tempfile.html#method-c-new"><code>Tempfile.new</code></a> now accept a suffix for the temporary file to be created.  To specify a suffix, pass an array of [basename, suffix] as the first argument.</p>

<pre>Tempfile.open([&#39;image&#39;, &#39;jpg&#39;]) { |tempfile| ... }</pre>
</li></ul>
</li><li>
<p>tmpdir</p>
<ul><li>
<p>New method:</p>
<ul><li>
<p><a href="Dir.html#method-c-mktmpdir"><code>Dir.mktmpdir</code></a></p>
</li></ul>
</li></ul>
</li><li>
<p>uri</p>
<ul><li>
<p>added LDAPS scheme.</p>
</li><li>
<p>Change for RFC3986:</p>
<ul><li>
<p>FTP</p>
<ul><li>
<p>URI(&#39;<a href="ftp://example.com/foo').path">example.com/foo’).path</a> #=&gt; &#39;foo&#39;</p>
</li><li>
<p>URI(&#39;<a href="ftp://example.com/%2Ffoo').path">example.com/%2Ffoo’).path</a> #=&gt; &#39;/foo&#39;</p>
</li><li>
<p><a href="URI/FTP.html#method-c-build"><code>URI::FTP.build</code></a>([nil, &#39;example.com&#39;, nil, &#39;/foo&#39;, &#39;i&#39;]).to_s #=&gt; &#39;<a href="ftp://example.com/%2Ffoo;type=i">example.com/%2Ffoo;type=i</a>&#39;</p>
</li></ul>
</li><li>
<p><a href="URI.html"><code>URI</code></a> merge</p>
<ul><li>
<p>URI(&#39;<a href="http://a/b/c/d;p?q').merge('?y">a/b/c/d;p?q’).merge(‘?y</a>&#39;) == URI(&#39;<a href="http://a/b/c/d;p?y">a/b/c/d;p?y</a>&#39;)</p>
</li><li>
<p>URI(&#39;<a href="http://a/b/c/d;p?q').merge('/./g">a/b/c/d;p?q’).merge(‘/./g</a>&#39;) == URI(&#39;<a href="http://a/g">a/g</a>&#39;)</p>
</li><li>
<p>URI(&#39;<a href="http://a/b/c/d;p?q').merge('/../g">a/b/c/d;p?q’).merge(‘/../g</a>&#39;) == URI(&#39;<a href="http://a/g">a/g</a>&#39;)</p>
</li><li>
<p>URI(&#39;<a href="http://a/b/c/d;p?q').merge('../../../g">a/b/c/d;p?q’).merge(‘../../../g</a>&#39;) == URI(&#39;<a href="http://a/g">a/g</a>&#39;)</p>
</li><li>
<p>URI(&#39;<a href="http://a/b/c/d;p?q').merge('../../../../g">a/b/c/d;p?q’).merge(‘../../../../g</a>&#39;) == URI(&#39;<a href="http://a/g">a/g</a>&#39;)</p>
</li></ul>
</li></ul>
</li></ul>
</li><li>
<p>rss</p>
<ul><li>
<p>0.1.6 -&gt; 0.2.4</p>
</li><li>
<p>Fix image module <a href="URI.html"><code>URI</code></a></p>
</li><li>
<p>Atom support</p>
</li><li>
<p>ITunes module support</p>
</li><li>
<p>Slash module support</p>
</li><li>
<p>content:encoded with <a href="RSS.html"><code>RSS</code></a> 2.0 support</p>
</li></ul>
</li></ul>

<h3 id="label-Interpreter+Implementation">Interpreter Implementation<span><a href="#label-Interpreter+Implementation">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>passing a block to a <a href="Proc.html"><code>Proc</code></a> [experimental]</p>

<p>This implementation in current shape is known to be buggy/broken, especially with nested block invocation.  Take this as an experimental feature.</p>
</li><li>
<p>stack trace</p>

<p>On non-SystemStackError exception, full stack trace is shown.</p>
</li></ul>

<h3 id="label-Compatibility+issues+-28excluding+feature+bug+fixes-29">Compatibility issues (excluding feature bug fixes)<span><a href="#label-Compatibility+issues+-28excluding+feature+bug+fixes-29">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p><a href="String.html#method-i-slice-21"><code>String#slice!</code></a> had some unintentional bugs and they have been fixed because either they disagreed with documentation or their respective behavior of slice.  Unfortunately, this causes some incompatibilities in the following (somewhat rare) cases.</p>
<ul><li>
<p>slice! no longer expands the array when an out-of-boundary value is given.</p>

<pre class="ruby"><span class="ruby-comment"># Ruby 1.8.6</span>
<span class="ruby-identifier">a</span> = [<span class="ruby-value">1</span>,<span class="ruby-value">2</span>]
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">slice!</span>(<span class="ruby-value">4</span>,<span class="ruby-value">0</span>)   <span class="ruby-comment">#=&gt; nil</span>
<span class="ruby-identifier">a</span>               <span class="ruby-comment">#=&gt; [1,2,nil,nil]</span>

<span class="ruby-comment"># Ruby 1.8.7</span>
<span class="ruby-identifier">a</span> = [<span class="ruby-value">1</span>,<span class="ruby-value">2</span>]
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">slice!</span>(<span class="ruby-value">4</span>,<span class="ruby-value">0</span>)   <span class="ruby-comment">#=&gt; nil</span>
<span class="ruby-identifier">a</span>               <span class="ruby-comment">#=&gt; [1,2]</span>
</pre>
</li><li>
<p>slice! no longer raises an exception but returns nil when a negative length or out-of-boundary negative position is given.</p>

<pre class="ruby"><span class="ruby-comment"># Ruby 1.8.6</span>
<span class="ruby-identifier">a</span> = [<span class="ruby-value">1</span>,<span class="ruby-value">2</span>]
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">slice!</span>(<span class="ruby-value">1</span>,<span class="ruby-value">-1</span>)  <span class="ruby-comment">#=&gt; (raises IndexError)</span>
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">slice!</span>(<span class="ruby-value">-5</span>,<span class="ruby-value">1</span>)  <span class="ruby-comment">#=&gt; (raises IndexError)</span>

<span class="ruby-comment"># Ruby 1.8.7</span>
<span class="ruby-identifier">a</span> = [<span class="ruby-value">1</span>,<span class="ruby-value">2</span>]
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">slice!</span>(<span class="ruby-value">1</span>,<span class="ruby-value">-1</span>)  <span class="ruby-comment">#=&gt; nil</span>
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">slice!</span>(<span class="ruby-value">-5</span>,<span class="ruby-value">1</span>)  <span class="ruby-comment">#=&gt; nil</span>
</pre>
</li></ul>
</li><li>
<p><a href="String.html#method-i-to_i"><code>String#to_i</code></a>, <a href="String.html#method-i-hex"><code>String#hex</code></a> and <a href="String.html#method-i-oct"><code>String#oct</code></a> no longer accept a sequence of underscores (`__&#39;) as part of a number.</p>

<pre class="ruby"><span class="ruby-comment"># Ruby 1.8.6</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">to_i</span>     <span class="ruby-comment">#=&gt; 10</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">to_i</span>(<span class="ruby-value">2</span>)  <span class="ruby-comment">#=&gt; 2  # 0b10</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">oct</span>      <span class="ruby-comment">#=&gt; 8  # 010</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">hex</span>      <span class="ruby-comment">#=&gt; 16 # 0x10</span>

<span class="ruby-comment"># Ruby 1.8.7</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">to_i</span>     <span class="ruby-comment">#=&gt; 1</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">to_i</span>(<span class="ruby-value">2</span>)  <span class="ruby-comment">#=&gt; 1</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">oct</span>      <span class="ruby-comment">#=&gt; 1</span>
<span class="ruby-string">&#39;1__0&#39;</span>.<span class="ruby-identifier">hex</span>      <span class="ruby-comment">#=&gt; 1</span>
</pre>

<p>The old behavior was inconsistent with Ruby syntax and considered as a bug.</p>
</li><li>
<p>date</p>
<ul><li>
<p><a href="Date.html#method-c-parse"><code>Date.parse</code></a></p>

<p>&#39;##.##.##&#39; (where each &#39;#&#39; is a digit) is now taken as &#39;YY.MM.DD&#39; instead of &#39;MM.DD.YY&#39;.  While the change may confuse you, you can always use <a href="Date.html#method-c-strptime"><code>Date.strptime()</code></a> when you know what you are dealing with.</p>
</li></ul>
</li><li>
<p><a href="REXML.html"><code>REXML</code></a></p>
<ul><li>
<p><a href="REXML/Document.html#method-c-entity_expansion_limit-3D"><code>REXML::Document.entity_expansion_limit=</code></a></p>

<p>New method to set the entity expansion limit. By default the limit is set to 10000.  See the following URL for details.</p>

<p><a href="https://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml">www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml</a>/</p>
</li></ul>
</li><li>
<p>stringio</p>
<ul><li>
<p><a href="StringIO.html#method-i-each_byte"><code>StringIO#each_byte</code></a></p>

<p>The return value changed from nil to self.  This is what the document says and the same as each_line() does.</p>
</li></ul>
</li><li>
<p>tempfile</p>
<ul><li>
<p>The file name format has changed.  No dots are included by default in temporary file names any more.  See above for how to specify a suffix.</p>
</li></ul>
</li><li>
<p>uri</p>
<ul><li>
<p>See above for details.</p>
</li></ul>
</li></ul>

<h2 id="label-Changes+since+the+1.8.5+release">Changes since the 1.8.5 release<span><a href="#label-Changes+since+the+1.8.5+release">&para;</a> <a href="#top">&uarr;</a></span></h2>

<h3 id="label-New+platforms-2Fbuild+tools+support">New platforms/build tools support<span><a href="#label-New+platforms-2Fbuild+tools+support">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>IA64 HP-UX</p>
</li><li>
<p>Visual C++ 8 SP1</p>
</li><li>
<p>autoconf 2.6x</p>
</li></ul>

<h3 id="label-Global+constants">Global constants<span><a href="#label-Global+constants">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>RUBY_PATCHLEVEL</p>

<p>New constant since 1.8.5-p1.</p>
</li></ul>

<h3 id="label-Library+updates+-28outstanding+ones+only-29">Library updates (outstanding ones only)<span><a href="#label-Library+updates+-28outstanding+ones+only-29">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>builtin classes</p>
<ul><li>
<p>New method: Kernel#instance_variable_defined?</p>
</li><li>
<p>New method: <a href="Module.html#method-i-class_variable_defined-3F"><code>Module#class_variable_defined?</code></a></p>
</li><li>
<p>New feature: <a href="Dir.html#method-c-glob"><code>Dir::glob()</code></a> can now take an array of glob patterns.</p>
</li></ul>
</li><li>
<p>date</p>
<ul><li>
<p>Updated based on date2 4.0.3.</p>
</li></ul>
</li><li>
<p>digest</p>
<ul><li>
<p>New internal APIs for C and Ruby.</p>
</li><li>
<p>Support for autoloading.</p>

<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;digest&#39;</span>

<span class="ruby-comment"># autoloads digest/md5</span>
<span class="ruby-identifier">md</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">digest</span>(<span class="ruby-string">&quot;string&quot;</span>)
</pre>
</li><li>
<p>New digest class methods: file</p>
</li><li>
<p>New digest instance methods: clone, reset, new, inspect, digest_length (alias size or length), block_length()</p>
</li><li>
<p>New library: digest/bubblebabble</p>
</li><li>
<p>New function: Digest(name)</p>
</li></ul>
</li><li>
<p>fileutils</p>
<ul><li>
<p>New option for <a href="FileUtils.html#method-c-cp_r"><code>FileUtils.cp_r()</code></a>: :remove_destination</p>
</li></ul>
</li><li>
<p>nkf</p>
<ul><li>
<p>Updated based on nkf as of 2007-01-28.</p>
</li></ul>
</li><li>
<p>thread</p>
<ul><li>
<p>Replaced with much faster mutex implementation in C.  The former implementation, which is slow but considered to be stable, is available with a configure option `–disable-fastthread&#39;.</p>
</li></ul>
</li><li>
<p>tk</p>
<ul><li>
<p>Updated Tile extension support based on Tile 0.7.8.</p>
</li><li>
<p>Support –without-X11 configure option for non-X11 versions of Tcl/Tk (e.g. Tcl/Tk Aqua).</p>
</li><li>
<p>New sample script: irbtkw.rbw – IRB on Ruby/Tk. It has no trouble about STDIN blocking on Windows.</p>
</li></ul>
</li><li>
<p>webrick</p>
<ul><li>
<p>New method: <a href="WEBrick/Cookie.html#method-c-parse_set_cookies"><code>WEBrick::Cookie.parse_set_cookies()</code></a></p>
</li></ul>
</li></ul>

<h3 id="label-Compatibility+issues+-28excluding+feature+bug+fixes-29">Compatibility issues (excluding feature bug fixes)<span><a href="#label-Compatibility+issues+-28excluding+feature+bug+fixes-29">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>builtin classes</p>
<ul><li>
<p><a href="String.html#method-i-intern"><code>String#intern</code></a> now raises <a href="SecurityError.html"><code>SecurityError</code></a> when $SAFE level is greater than zero.</p>
</li></ul>
</li><li>
<p>date</p>
<ul><li>
<p><a href="Time.html#method-i-to_date"><code>Time#to_date</code></a> and <a href="Time.html#method-i-to_datetime"><code>Time#to_datetime</code></a> are added as private methods. They cause name conflict error in ActiveSupport 1.4.1 and prior, which comes with Rails 1.2.2 and prior.  Updating ActiveSupport and/or Rails to the latest versions fixes the problem.</p>
</li></ul>
</li><li>
<p>digest</p>
<ul><li>
<p>The constructor does no longer take an initial string to feed. The following examples show how to migrate:</p>

<pre class="ruby"><span class="ruby-comment"># Before</span>
<span class="ruby-identifier">md</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;string&quot;</span>)
<span class="ruby-comment"># After (works with any version)</span>
<span class="ruby-identifier">md</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">new</span>.<span class="ruby-identifier">update</span>(<span class="ruby-string">&quot;string&quot;</span>)

<span class="ruby-comment"># Before</span>
<span class="ruby-identifier">hd</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;string&quot;</span>).<span class="ruby-identifier">hexdigest</span>
<span class="ruby-comment"># After (works with any version)</span>
<span class="ruby-identifier">hd</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-string">&quot;string&quot;</span>)
</pre>
</li><li>
<p>Digest::Base#==</p>
<ul><li>
<p>self == string</p>

<p>Automatic detection between binary digest values and hexadecimal digest values has been dropped.  It is always assumed that a hexadecimal digest value is given for comparison.</p>
</li><li>
<p>self == md</p>

<p><a href="Digest.html"><code>Digest</code></a> objects are compared by the resulting digest values, not by the exact vector states.</p>
</li></ul>
</li></ul>
</li><li>
<p>fileutils</p>
<ul><li>
<p>A minor implementation change breaks Rake &lt;=0.7.1. Updating Rake to 0.7.2 or higher fixes the problem.</p>
</li></ul>
</li><li>
<p>tk</p>
<ul><li>
<p>Tk::X_Scrollable (Y_Scrollable) is renamed to Tk::XScrollable (YScrollable). Tk::X_Scrollable (Y_Scrollable) is still available, but it is an alias name.</p>
</li></ul>
</li></ul>

</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>