CINXE.COM
Ruby Programming Language 中文官方網頁
<!DOCTYPE html> <html> <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://www.ruby-lang.org/zh_tw/","20231123110330","https://web.archive.org/","web","/_static/", "1700737410"); </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"> <title>Ruby Programming Language 中文官方網頁</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta itemprop="image" content="https://web.archive.org/web/20231123110330im_/https://www.ruby-lang.org/images/header-ruby-logo@2x.png"> <meta name="description" content=""> <link rel="stylesheet" type="text/css" href="/web/20231123110330cs_/https://www.ruby-lang.org/stylesheets/normalize.css"> <link rel="stylesheet" type="text/css" href="/web/20231123110330cs_/https://www.ruby-lang.org/stylesheets/main.css"> <link rel="stylesheet" type="text/css" href="/web/20231123110330cs_/https://www.ruby-lang.org/stylesheets/pygments.css"> <link rel="stylesheet" type="text/css" href="/web/20231123110330cs_/https://www.ruby-lang.org/stylesheets/mobile.css"> <link rel="stylesheet" type="text/css" href="/web/20231123110330cs_/https://www.ruby-lang.org/stylesheets/print.css"> <link href="https://web.archive.org/web/20231123110330cs_/https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic&subset=latin,cyrillic,greek,vietnamese" rel="stylesheet" type="text/css"> <link rel="canonical" href="https://web.archive.org/web/20231123110330/https://www.ruby-lang.org/zh_tw/"> <link rel="shortcut icon" type="image/x-icon" href="/web/20231123110330im_/https://www.ruby-lang.org/favicon.ico"> <link href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/feeds/news.rss" rel="alternate" title="最新消息(RSS)" type="application/rss+xml"> <script type="text/javascript" src="/web/20231123110330js_/https://www.ruby-lang.org/javascripts/jquery.min.js"></script> <script type="text/javascript" src="/web/20231123110330js_/https://www.ruby-lang.org/javascripts/page.js"></script> <script type="text/javascript" src="/web/20231123110330js_/https://www.ruby-lang.org/javascripts/examples.js"></script> </head> <body id="home-page-layout"> <div id="header"> <div id="header_content" class="container"> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/"> <h1>Ruby</h1> <h2>程式設計師的摯友</h2> </a> <div class="site-links"> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/" class="home">首頁</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/downloads/">下載安裝</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/documentation/">文件</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/libraries/">函式庫</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/community/">社群</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/">新聞</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/security/">安全</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/about/">關於 Ruby</a> <a href="#" class="menu selected">Menu</a> </div> <div id="search-box"> <form id="search-form" action="https://web.archive.org/web/20231123110330/https://www.google.com/cse"> <table class="fieldset"> <tr> <td> <input class="field" type="text" name="q" size="31" style="background: white url(//web.archive.org/web/20231123110330im_/https://www.google.com/coop/intl/zh_tw/images/google_custom_search_watermark.gif) left no-repeat" onfocus="this.style.background='white'" onblur="if (/^\s*$/.test(this.value)) this.style.background='white url(//www.google.com/coop/intl/zh_tw/images/google_custom_search_watermark.gif) left no-repeat'"/> </td> <td> <input type="hidden" name="ie" value="UTF-8"/> <input class="button" type="submit" name="sa" value="搜尋"/> </td> </tr> </table> </form> </div> </div> </div> <div id="page"> <div id="intro-container"> <div class="container"> <div id="intro-wrapper"> <div id="intro"> <h1>Ruby 是...</h1> <p> 一個簡易且充滿生產力的開放原碼動態程式設計語言。高雅的語法, 得以自然的閱讀與易於撰寫。 </p> <a href="downloads/" class="download-link">下載安裝</a> 或 <a href="about/">深入了解...</a> </div> <div id="code"></div> </div> </div> </div> <div id="main-wrapper" class="container"> <div id="main"> <div id="content-wrapper"> <!-- //--> <div id="content"> <div class="post"> <h3><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2023/11/12/ruby-3-3-0-preview3-released/">Ruby 3.3.0-preview3 發布</a></h3> <p>我們很高興宣布 Ruby 3.3.0-preview3 發佈了。 Ruby 3.3 新增了名為 Prism 的 Parser,使用了 Lrama 做為 Parser 產生器,新增了名為 RJIT,純 Ruby 開發的 JIT 編譯器,以及更多效能提升,尤其是 YJIT。</p> <p class="post-link"><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2023/11/12/ruby-3-3-0-preview3-released/">深入閱讀...</a></p> <p class="post-info">由 naruse 發表於 2023-11-12</p> </div> <div class="post"> <h3><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2023/09/14/ruby-3-3-0-preview2-released/">Ruby 3.3.0-preview2 發布</a></h3> <p class="post-link"><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2023/09/14/ruby-3-3-0-preview2-released/">深入閱讀...</a></p> <p class="post-info">由 naruse 發表於 2023-09-14</p> </div> <div class="post"> <h3><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/12/25/ruby-3-2-0-released/">Ruby 3.2.0 發布</a></h3> <p class="post-link"><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/12/25/ruby-3-2-0-released/">深入閱讀...</a></p> <p class="post-info">由 naruse 發表於 2022-12-25</p> </div> <div class="post"> <h3><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/12/06/ruby-3-2-0-rc1-released/">Ruby 3.2.0 RC 1 發布</a></h3> <p class="post-link"><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/12/06/ruby-3-2-0-rc1-released/">深入閱讀...</a></p> <p class="post-info">由 naruse 發表於 2022-12-06</p> </div> <div id="news"> <h3>其他新聞</h3> <ul> <li> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/11/24/ruby-3-1-3-released/">Ruby 3.1.3 發布</a><br> <span class="post-info">由 nagachika 發表於 2022-11-24</span> </li> <li> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/11/24/ruby-3-0-5-released/">Ruby 3.0.5 發布</a><br> <span class="post-info">由 usa 發表於 2022-11-24</span> </li> <li> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/11/24/ruby-2-7-7-released/">Ruby 2.7.7 發布</a><br> <span class="post-info">由 usa 發表於 2022-11-24</span> </li> <li> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/">CVE-2021-33621: CGI 存在 HTTP 響應切分風險</a><br> <span class="post-info">由 mame 發表於 2022-11-22</span> </li> <li> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/11/11/ruby-3-2-0-preview3-released/">Ruby 3.2.0 Preview 3 發布</a><br> <span class="post-info">由 naruse 發表於 2022-11-11</span> </li> <li> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/2022/09/09/ruby-3-2-0-preview2-released/">Ruby 3.2.0 Preview 2 發布</a><br> <span class="post-info">由 naruse 發表於 2022-09-09</span> </li> </ul> <p class="more"> <a href="news/">更多新聞...</a> </p> </div> </div> </div> <hr class="hidden-modern"/> <div id="sidebar-wrapper"> <div id="sidebar"> <div class="navigation"> <h3><strong>上手入門</strong>,一點都不難!</h3> <ul class="menu"> <li><a href="https://web.archive.org/web/20231123110330/https://try.ruby-lang.org/">在瀏覽器中試用 Ruby!</a></li> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/documentation/quickstart/">20 分鐘 Ruby 體驗</a></li> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/documentation/ruby-from-other-languages/">從其他語言到 Ruby</a></li> </ul> </div> <div class="navigation"> <h3><strong>探索</strong> 新世界…</h3> <ul class="menu"> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/documentation/">文件</a></li> <li><a href="https://web.archive.org/web/20231123110330/https://rubybib.org/">學術研究</a></li> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/libraries/">函式庫</a></li> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/documentation/success-stories/">成功案例</a></li> </ul> </div> <div class="navigation"> <h3><strong>加入</strong> 友善且持續成長的社群</h3> <ul> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/community/mailing-lists/">郵件論壇</a>: 與世界各地的程式設計師一同聊聊</li> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/community/user-groups/">使用者群組</a>: 與身旁的 Ruby 使用者接觸</li> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/community/weblogs/">部落格</a>: 了解 Ruby 社群中的最新消息</li> <li><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/community/ruby-core/">Ruby 核心</a>: 幫助開發最新的 Ruby</li> <li><a href="https://web.archive.org/web/20231123110330/https://bugs.ruby-lang.org/">問題追蹤</a>: 回報或解決 Ruby 問題</li> </ul> </div> <h3>訂閱</h3> <p><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/feeds/news.rss">最新消息(RSS)</a></p> </div> </div> <hr class="hidden-modern"/> </div> </div> </div> <div class="container"> <div id="footer"> <div class="site-links"> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/" class="home">首頁</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/downloads/">下載安裝</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/documentation/">文件</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/libraries/">函式庫</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/community/">社群</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/news/">新聞</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/security/">安全</a> <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/about/">關於 Ruby</a> </div> <p> This site in other languages: <a href="/web/20231123110330/https://www.ruby-lang.org/bg/">Български</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/de/">Deutsch</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/en/">English</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/es/">Español</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/fr/">Français</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/id/">Bahasa Indonesia</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/it/">Italiano</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/ja/">日本語</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/ko/">한국어</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/pl/">polski</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/pt/">Português</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/ru/">Русский</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/tr/">Türkçe</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/vi/">Tiếng Việt</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/zh_cn/">简体中文</a>, <a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/">繁體中文</a>. </p> <p><a href="/web/20231123110330/https://www.ruby-lang.org/zh_tw/about/website/">本站</a>由 Ruby 社群成員共同維護。</p> </div> </div> </body> </html> <!-- FILE ARCHIVED ON 11:03:30 Nov 23, 2023 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 02:13:11 Dec 13, 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.561 exclusion.robots: 0.024 exclusion.robots.policy: 0.015 esindex: 0.009 cdx.remote: 21.415 LoadShardBlock: 380.535 (6) PetaboxLoader3.datanode: 276.596 (7) load_resource: 98.423 PetaboxLoader3.resolve: 51.764 -->