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/","20240802231916","https://web.archive.org/","web","/_static/", "1722640756"); </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/20240802231916im_/https://www.ruby-lang.org/images/header-ruby-logo@2x.png"> <meta name="description" content=""> <link rel="stylesheet" type="text/css" href="/web/20240802231916cs_/https://www.ruby-lang.org/stylesheets/normalize.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231916cs_/https://www.ruby-lang.org/stylesheets/main.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231916cs_/https://www.ruby-lang.org/stylesheets/pygments.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231916cs_/https://www.ruby-lang.org/stylesheets/mobile.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231916cs_/https://www.ruby-lang.org/stylesheets/print.css"> <link href="https://web.archive.org/web/20240802231916cs_/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/20240802231916/https://www.ruby-lang.org/zh_tw/"> <link rel="shortcut icon" type="image/x-icon" href="/web/20240802231916im_/https://www.ruby-lang.org/favicon.ico"> <link href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/feeds/news.rss" rel="alternate" title="最新消息(RSS)" type="application/rss+xml"> <script type="text/javascript" src="/web/20240802231916js_/https://www.ruby-lang.org/javascripts/jquery.min.js"></script> <script type="text/javascript" src="/web/20240802231916js_/https://www.ruby-lang.org/javascripts/page.js"></script> <script type="text/javascript" src="/web/20240802231916js_/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/20240802231916/https://www.ruby-lang.org/zh_tw/"> <h1>Ruby</h1> <h2>程式設計師的摯友</h2> </a> <div class="site-links"> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/" class="home">首頁</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/downloads/">下載安裝</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/documentation/">文件</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/libraries/">函式庫</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/community/">社群</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/">新聞</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/security/">安全</a> <a href="/web/20240802231916/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/20240802231916/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/20240802231916im_/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="cx" value="013598269713424429640:g5orptiw95w"/> <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/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/08/01/dos-rexml-cve-2024-41946/">CVE-2024-41946: DoS vulnerability in REXML</a></h3> <p>在 REXML gem 發現了一個 DoS 漏洞。 該漏洞的 CVE 編號為 <a href="https://web.archive.org/web/20240802231916/https://www.cve.org/CVERecord?id=CVE-2024-41946">CVE-2024-41946</a>。 我們強烈建議您升級 REXML gem。</p> <p class="post-link"><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/08/01/dos-rexml-cve-2024-41946/">深入閱讀...</a></p> <p class="post-info">由 kou 發表於 2024-08-01</p> </div> <div class="post"> <h3><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/08/01/dos-rexml-cve-2024-41123/">CVE-2024-41123: DoS vulnerabilities in REXML</a></h3> <p>在 REXML gem 發現了一些 DoS 漏洞。 該漏洞的 CVE 編號為 <a href="https://web.archive.org/web/20240802231916/https://www.cve.org/CVERecord?id=CVE-2024-41123">CVE-2024-41123</a>。 我們強烈建議您升級 REXML gem。</p> <p class="post-link"><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/08/01/dos-rexml-cve-2024-41123/">深入閱讀...</a></p> <p class="post-info">由 kou 發表於 2024-08-01</p> </div> <div class="post"> <h3><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/07/26/ruby-3-2-5-released/">Ruby 3.2.5 發布</a></h3> <p>Ruby 3.2.5 已經發布了。</p> <p class="post-link"><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/07/26/ruby-3-2-5-released/">深入閱讀...</a></p> <p class="post-info">由 nagachika 發表於 2024-07-26</p> </div> <div class="post"> <h3><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/07/16/dos-rexml-cve-2024-39908/">CVE-2024-39908 : DoS in REXML</a></h3> <p>在 REXML gem 發現了一個 DoS 漏洞。 該漏洞的 CVE 編號為 <a href="https://web.archive.org/web/20240802231916/https://www.cve.org/CVERecord?id=CVE-2024-39908">CVE-2024-39908</a>。 我們強烈建議您升級 REXML gem。</p> <p class="post-link"><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/07/16/dos-rexml-cve-2024-39908/">深入閱讀...</a></p> <p class="post-info">由 watson1978 發表於 2024-07-16</p> </div> <div id="news"> <h3>其他新聞</h3> <ul> <li> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/07/09/ruby-3-3-4-released/">Ruby 3.3.4 發布</a><br> <span class="post-info">由 k0kubun 發表於 2024-07-09</span> </li> <li> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/06/12/ruby-3-3-3-released/">Ruby 3.3.3 發布</a><br> <span class="post-info">由 k0kubun 發表於 2024-06-12</span> </li> <li> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/05/30/ruby-3-3-2-released/">Ruby 3.3.2 發布</a><br> <span class="post-info">由 k0kubun 發表於 2024-05-30</span> </li> <li> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/05/30/datadog-oss-program/">Datadog 為 ruby-lang.org 提供開源社群支援</a><br> <span class="post-info">由 hsbt 發表於 2024-05-30</span> </li> <li> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/05/29/ruby-3-1-6-released/">Ruby 3.1.6 發布</a><br> <span class="post-info">由 hsbt 發表於 2024-05-29</span> </li> <li> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/2024/05/16/dos-rexml-cve-2024-35176/">CVE-2024-35176: DoS in REXML</a><br> <span class="post-info">由 kou 發表於 2024-05-16</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/20240802231916/https://try.ruby-lang.org/">在瀏覽器中試用 Ruby!</a></li> <li><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/documentation/quickstart/">20 分鐘 Ruby 體驗</a></li> <li><a href="/web/20240802231916/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/20240802231916/https://www.ruby-lang.org/zh_tw/documentation/">文件</a></li> <li><a href="https://web.archive.org/web/20240802231916/https://rubybib.org/">學術研究</a></li> <li><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/libraries/">函式庫</a></li> <li><a href="/web/20240802231916/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/20240802231916/https://www.ruby-lang.org/zh_tw/community/mailing-lists/">郵件論壇</a>: 與世界各地的程式設計師一同聊聊</li> <li><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/community/user-groups/">使用者群組</a>: 與身旁的 Ruby 使用者接觸</li> <li><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/community/weblogs/">部落格</a>: 了解 Ruby 社群中的最新消息</li> <li><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/community/ruby-core/">Ruby 核心</a>: 幫助開發最新的 Ruby</li> <li><a href="https://web.archive.org/web/20240802231916/https://bugs.ruby-lang.org/">問題追蹤</a>: 回報或解決 Ruby 問題</li> </ul> </div> <h3>訂閱</h3> <p><a href="/web/20240802231916/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/20240802231916/https://www.ruby-lang.org/zh_tw/" class="home">首頁</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/downloads/">下載安裝</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/documentation/">文件</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/libraries/">函式庫</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/community/">社群</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/news/">新聞</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/security/">安全</a> <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/about/">關於 Ruby</a> </div> <p> This site in other languages: <a href="/web/20240802231916/https://www.ruby-lang.org/bg/">Български</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/de/">Deutsch</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/en/">English</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/es/">Español</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/fr/">Français</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/id/">Bahasa Indonesia</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/it/">Italiano</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/ja/">日本語</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/ko/">한국어</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/pl/">polski</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/pt/">Português</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/ru/">Русский</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/tr/">Türkçe</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/vi/">Tiếng Việt</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/zh_cn/">简体中文</a>, <a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/">繁體中文</a>. </p> <p><a href="/web/20240802231916/https://www.ruby-lang.org/zh_tw/about/website/">本站</a>由 Ruby 社群成員共同維護。</p> </div> </div> </body> </html> <!-- FILE ARCHIVED ON 23:19:16 Aug 02, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 19:44:15 Nov 30, 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.429 exclusion.robots: 0.018 exclusion.robots.policy: 0.011 esindex: 0.007 cdx.remote: 7.336 LoadShardBlock: 505.875 (6) PetaboxLoader3.datanode: 442.624 (8) PetaboxLoader3.resolve: 235.297 (2) load_resource: 372.642 (2) -->