CINXE.COM

Ruby-Doc.org: Documenting the Ruby Language

<!doctype html> <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!-- Consider adding a manifest.appcache: h5bp.com/d/Offline --> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://ruby-doc.org/","20240723164833","https://web.archive.org/","web","/_static/", "1721753313"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Ruby-Doc.org: Documenting the Ruby Language</title> <!-- Mobile viewport optimized: j.mp/bplateviewport --> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="search" type="application/opensearchdescription+xml" title="Ruby-Doc Search" href="//web.archive.org/web/20240723164833/https://ruby-doc.org/ruby-doc-search.xml"> <meta name="generator" content="Webby"> <meta name="description" content="Fast, searchable Ruby documentation for core and standard libraries. Plus, links to tutorials, guides, books, and related sites."> <meta name="robots" content="NOODP"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/web/20240723164833cs_/https://ruby-doc.org/css/inuit.css"> <link rel="stylesheet" type="text/css" href="/web/20240723164833cs_/https://ruby-doc.org/css/grid.inuit.css"> <link rel="stylesheet" type="text/css" href="/web/20240723164833cs_/https://ruby-doc.org/css/2011.css"> <link rel="stylesheet" type="text/css" href="/web/20240723164833cs_/https://ruby-doc.org/css/rdoc.css"> <link rel="stylesheet" type="text/css" href="/web/20240723164833cs_/https://ruby-doc.org/css/extra.css"> <link rel="stylesheet" type="text/css" href="/web/20240723164833cs_/https://ruby-doc.org/css/grid2022.css"> <link href="/web/20240723164833im_/https://ruby-doc.org/favicon.ico" rel="Shortcut Icon" type="image/x-icon"> <script src="/web/20240723164833js_/https://ruby-doc.org/js/libs/modernizr-2.0.6.min.js"></script> <script src="https://web.archive.org/web/20240723164833js_/https://code.jquery.com/jquery-1.8.3.min.js"></script> <script src="/web/20240723164833js_/https://ruby-doc.org/js/extra.js"></script> <style type="text/css"> .hextra { margin-top: 30px; } </style> <link rel="stylesheet" type="text/css" href="/web/20240723164833cs_/https://ruby-doc.org/css/grid-carbon17.css"> </head> <body class="_default"> <div id="actionbar"> <div class="action_bar_wrapper"> <div class="menu_box"><a href="/web/20240723164833/https://ruby-doc.org/">Home</a></div> <div class="menu_box"><a href="/web/20240723164833/https://ruby-doc.org/current">Current</a></div> <div class="menu_box"><a href="/web/20240723164833/https://ruby-doc.org/downloads">Downloads</a></div> <!-- div class='search_box' id='rd-action-search'><form id="searchbox_011815814100681837392:wnccv6st5qk" action="https://ruby-doc.com/search.html"><input type="hidden" name="cx" value="011815814100681837392:wnccv6st5qk" ><input name="q" type="text" size="20" id='rd-search-input' >&#160;&#160;<input type="submit" class='right_' name="sa" value="Search" ><input type="hidden" name="cof" value="FORID:9" ></form> </div --> </div> </div> <!-- div id='actionbar' > <div class='wrapper'> <ul class='grids g0'> <li class='grid-2' ><a href='/'>Home</a></li> <li class='grid-2' ><a href='/current'>Current</a></li> <li class='grid-2' ><a href='/downloads'>Downloads</a></li> <li class='grid-5 right' id='rd-action-search'><form id="searchbox_011815814100681837392:wnccv6st5qk" action="https://ruby-doc.com/search.html"><input type="hidden" name="cx" value="011815814100681837392:wnccv6st5qk" ><input name="q" type="text" size="20" id='rd-search-input' >&#160;&#160;<input type="submit" class='right_' name="sa" value="Search" ><input type="hidden" name="cof" value="FORID:9" ></form> </li> </ul> </div --> <!-- --> <div class="_wrapper"> <script src="//web.archive.org/web/20240723164833js_/https://m.servedby-buysellads.com/monetization.js" type="text/javascript"></script> <div class="bsa-cpc"></div> <script> (function(){ if(typeof _bsa !== 'undefined' && _bsa) { _bsa.init('default', 'CKYD627W', 'placement:ruby-docorg', { target: '.bsa-cpc', align: 'horizontal', disable_css: 'true' }); } })(); </script> <div id="header" class="grids g1 hextra"> <header class="_grid-16"> <h1><a href="/web/20240723164833/https://ruby-doc.org/">Ruby-Doc.org</a></h1> <p>Help and documentation for the Ruby programming language.</p> </header> </div> <!-- end #header --> <!-- INDEX --> <div class="main_wrapper"> <div class="box a"> <h2 class="main-header">Current Ruby Releases</h2> <p>These are the complete API documents for base classes, modules, and included libraries in the current stables releases of Ruby.</p> <ul class="main"> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.3.4">Complete API docs for Ruby 3.3.4</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.4.0.preview1">Complete API docs for Ruby 3.4.0.preview1</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.2.4">Complete API docs for Ruby 3.2.4</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.1.6">Complete API docs for Ruby 3.1.6</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.0.7">Complete API docs for Ruby 3.0.7</a></span></li> </ul> </div> <!-- ****************** --> <div class="box b"> <h2 class="main-header">Older Ruby Releases</h2> <!-- h3 class='main-header' >API for base classes and modules</h3 --> <ul class="main" id="older-list"> <!-- li 1 --> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.3.3">Complete 3.3.3 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.3.2">Complete 3.3.2 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.3.1">Complete 3.3.1 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.3.0">Complete 3.3.0 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.2.3">Complete 3.2.3 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.2.2">Complete 3.2.2 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.2.1">Complete 3.2.1 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.2.0">Complete 3.2.0 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.1.5">Complete 3.1.5 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.1.4">Complete 3.1.4 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.1.3">Complete 3.1.3 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.1.2">Complete 3.1.2 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-3.1.1">3.1.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-3.1.1">3.1.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-3.1.0">3.1.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-3.1.0">3.1.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.0.6">Complete 3.0.6 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.0.5">Complete 3.0.5 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/3.0.4">Complete 3.0.4 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-3.0.3">3.0.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-3.0.3">3.0.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-3.0.2">3.0.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-3.0.2">3.0.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-3.0.1">3.0.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-3.0.1">3.0.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-3.0.0">3.0.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-3.0.0">3.0.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/2.7.8">Complete 2.7.8 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/2.7.7">Complete 2.7.7 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/2.7.6">Complete 2.7.6 </a></span><span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.7.5">2.7.5 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.7.5">2.7.5 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.7.4">2.7.4 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.7.4">2.7.4 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.7.3">2.7.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.7.3">2.7.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.7.2">2.7.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.7.2">2.7.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.7.1">2.7.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.7.1">2.7.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.7.0">2.7.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.7.0">2.7.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.10">2.6.10 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.10">2.6.10 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.9">2.6.9 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.9">2.6.9 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.8">2.6.8 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.8">2.6.8 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.7">2.6.7 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.7">2.6.7 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.6">2.6.6 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.6">2.6.6 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.5">2.6.5 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.5">2.6.5 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.4">2.6.4 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.4">2.6.4 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.3">2.6.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.3">2.6.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.2">2.6.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.2">2.6.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6.1">2.6.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6.1">2.6.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.6">2.6 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.6">2.6 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.9">2.5.9 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.9">2.5.9 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.8">2.5.8 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.8">2.5.8 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.7">2.5.7 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.7">2.5.7 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.6">2.5.6 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.6">2.5.6 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.5">2.5.5 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.5">2.5.5 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.4">2.5.4 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.4">2.5.4 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.3">2.5.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.3">2.5.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.2">2.5.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.2">2.5.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.1">2.5.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.1">2.5.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.5.0">2.5.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.5.0">2.5.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.10">2.4.10 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.10">2.4.10 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.9">2.4.9 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.9">2.4.9 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.8">2.4.8 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.8">2.4.8 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.7">2.4.7 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.7">2.4.7 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.6">2.4.6 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.6">2.4.6 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.5">2.4.5 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.5">2.4.5 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.4">2.4.4 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.4">2.4.4 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.3">2.4.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.3">2.4.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.2">2.4.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.2">2.4.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.1">2.4.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.1">2.4.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.4.0">2.4.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.4.0">2.4.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.8">2.3.8 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.8">2.3.8 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.7">2.3.7 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.7">2.3.7 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.6">2.3.6 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.6">2.3.6 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.5">2.3.5 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.5">2.3.5 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.4">2.3.4 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.4">2.3.4 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.3">2.3.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.3">2.3.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.2">2.3.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.2">2.3.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.1">2.3.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.1">2.3.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.3.0">2.3.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.3.0">2.3.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.10">2.2.10 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.10">2.2.10 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.7">2.2.7 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.7">2.2.7 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.6">2.2.6 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.6">2.2.6 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.5">2.2.5 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.5">2.2.5 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.4">2.2.4 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.4">2.2.4 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.3">2.2.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.3">2.2.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.2">2.2.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.2">2.2.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.1">2.2.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.1">2.2.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.2.0">2.2.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.2.0">2.2.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.9">2.1.9 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.9">2.1.9 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.8">2.1.8 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.8">2.1.8 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.7">2.1.7 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.7">2.1.7 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.6">2.1.6 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.6">2.1.6 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.5">2.1.5 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.5">2.1.5 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.4">2.1.4 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.4">2.1.4 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.3">2.1.3 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.3">2.1.3 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.2">2.1.2 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.2">2.1.2 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.1">2.1.1 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.1">2.1.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.1.0">2.1.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.1.0">2.1.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-2.0.0">2.0.0 Core </a></span><span> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-2.0.0">2.0.0 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-1.9.3">1.9.3 core</a></span> / <span><a href="/web/20240723164833/https://ruby-doc.org/stdlib-1.9.3/">1.9.3 standard library</a></span> </li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/docs/keywords/1.9/">Keywords defined in 1.9.</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-mruby/">MRuby core</a> (this is <em>not</em> an active release version).</span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-trunk">Trunk core</a> / <a href="/web/20240723164833/https://ruby-doc.org/stdlib-trunk">Trunk standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-1.9.2">1.9.2 core</a>1.9.2 Core</span> / <span><a href="/web/20240723164833/https://ruby-doc.org/stdlib-1.9.1/">1.9.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-1.9.1">1.9.1 core</a>1.9.1 Core</span> / <span><a href="/web/20240723164833/https://ruby-doc.org/stdlib-1.9.1/">1.9.1 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-1.8.7">1.8.7 core</a>1.8.7 Core</span> / <span><a href="/web/20240723164833/https://ruby-doc.org/stdlib-1.8.7/">1.8.7 standard library</a></span></li> <li><span><a href="/web/20240723164833/https://ruby-doc.org/core-1.8.6/index.html">1.8.6 core</a> - Core API docs for Ruby 1.8.6.</span> / <span><a href="/web/20240723164833/https://ruby-doc.org/stdlib-1.8.6/">1.8.6 standard library</a></span></li> </ul> <!-- ul 2 --> </div> </div> <div class="main_wrapper" id="ruby320-header"> <div class="box"> <h2 class="main-header">Ruby 3.3</h2> <ul class="main"> <li><span>Read about what's new in Ruby 3.3: <a href="https://web.archive.org/web/20240723164833/https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/">Ruby 3.3.0 Released</a></span></li> </ul> </div> <div class="box"> <div class="carbonad"> <script async type="text/javascript" src="//web.archive.org/web/20240723164833js_/https://cdn.carbonads.com/carbon.js?zoneid=1673&amp;serve=C6AILKT&amp;placement=ruby-docorg" id="_carbonads_js"> </script> </div> </div> </div> <div class="main_wrapper"> <div class="box d"> <h2 class="main-header">Getting Started</h2> <p style="color:#6C6C6C; font-family:Helvetica,Arial,sans-serif;">A collection of resources for those just starting out with Ruby.</p> <ul class="main"> <!-- li><span> <a href="http://docs.ruby-doc.com/docs/ProgrammingRuby/">Programming Ruby</a> <br>An on-line copy of the first edition of the book Programming Ruby, by Dave Thomas.</span> </li--> <!-- li><a href='http://neurogami.com/content/10_minutes_to_your_first_Ruby_app'>10 Minutes to Your First Ruby Application</a><br>Write a useful Ruby program that demonstrates key language concepts.</li --> <!-- li> <span> <a href="http://blog.rubybestpractices.com/posts/gregory/022-rbp-now-open.html">Ruby Best Practices</a><br>Free on-line book.</span></li --> <li><span><a href="/web/20240723164833/https://ruby-doc.org/docs">Additional Documents</a> <br>A varied collection of other documents hosted on Ruby-Doc</span></li> <li><a href="https://web.archive.org/web/20240723164833/https://practicingruby.com/">Practicing Ruby</a><br>A unique journal curated by <a href="https://web.archive.org/web/20240723164833/http://blog.rubybestpractices.com/about/gregory.html">Gregory Brown</a></li> <li><a href="/web/20240723164833/https://ruby-doc.org/whyruby">More ...</a></li> </ul> </div> <!-- ******************* --> <div class="box e"> <h2 class="main-header">Docs in Other Languages</h2> <ul class="main"> <li><a href="/web/20240723164833/https://ruby-doc.org/fr">French / Fran莽ais</a></li> <li><a href="/web/20240723164833/https://ruby-doc.org/de">German / Deutsch</a></li> <li><a href="/web/20240723164833/https://ruby-doc.org/bg">Bulgarian / 斜褗谢谐邪褉褋泻懈</a></li> <li><a href="/web/20240723164833/https://ruby-doc.org/es">Spanish / Espa帽ol</a></li> <li><a href="/web/20240723164833/https://ruby-doc.org/pl">Polish / Polski</a></li> </ul> </div> </div> <!-- END INDEX --> </div> <footer class="wrapper"> <div id="colophon" class="grids g3"> <ul class="grid-5"> <li>The ruby-doc.org Ruby documentation project is an effort by the Ruby community to provide complete and accurate documentation for the Ruby programming language.</li> </ul> <ul class="grid-6 "> <li>Actual documentation belongs to the respective authors, who deserve your recognition and praise.</li> <li>See a bug or omission in the API docs? Visit <a href="https://web.archive.org/web/20240723164833/http://documenting-ruby.org/">Documenting-ruby.org</a></li> </ul> <ul class="grid-5 right"> <li>Ruby-doc.org is hosted and maintained by <a href="https://web.archive.org/web/20240723164833/http://www.jamesbritt.com/">James Britt</a> and the <a href="https://web.archive.org/web/20240723164833/http://www.neurogami.com/">Neurogami</a> secret laboratory</a>. </li> <li class="oio-inline"> <ins data-revive-zoneid="1" data-revive-id="58924a5717c091dfee6dda3f7d38c4d7"></ins> <!-- script async src="//ras.ruby-doc.org/vvv/delivery/thesinkjs.php"></script --> </li> </ul> <ul class="grid-16"> <li>Questions? Problems? Praise? Suggestions? Write to <a href="https://web.archive.org/web/20240723164833/mailto:james@jamesbritt.com">james@jamesbritt.com</a></li> <li><em>Use Ruby. Be happy.</em></li> </ul> </div> </footer> <script type="text/javascript"> var index_core = 3; function showItemsCore() { $(this).text('hide'); $('ul#older-list li:gt('+index_core+')').show(); } function hideItemsCore() { $(this).text('more...'); $('ul#older-list li:gt('+index_core+'):not(.more)').hide(); } $(document).ready(function() { $.ajaxSetup({ cache: false }); $('ul#older-list li:gt('+index_core+')').hide(); $('ul#older-list').append('<li class="more"><a href="#">more...</a></li>'); $('ul#older-list li.more a').toggle(showItemsCore, hideItemsCore); }); </script> <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//web.archive.org/web/20240723164833/https://stats.ruby-doc.org/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '3']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><img src="https://web.archive.org/web/20240723164833im_/https://stats.ruby-doc.org/matomo.php?idsite=3&amp;rec=1" style="border:0" alt="" id="simple-tracker-image"></noscript> </body> </html> <!-- FILE ARCHIVED ON 16:48:33 Jul 23, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 19:55:45 Dec 02, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.665 exclusion.robots: 0.028 exclusion.robots.policy: 0.017 esindex: 0.029 cdx.remote: 17.904 LoadShardBlock: 205.81 (3) PetaboxLoader3.datanode: 90.735 (4) PetaboxLoader3.resolve: 136.974 (2) load_resource: 126.181 -->

Pages: 1 2 3 4 5 6 7 8 9 10