CINXE.COM
Lenguaje de Programación Ruby
<!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/es/","20240802231840","https://web.archive.org/","web","/_static/", "1722640720"); </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>Lenguaje de Programación Ruby</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta itemprop="image" content="https://web.archive.org/web/20240802231840im_/https://www.ruby-lang.org/images/header-ruby-logo@2x.png"> <meta name="description" content=""> <link rel="stylesheet" type="text/css" href="/web/20240802231840cs_/https://www.ruby-lang.org/stylesheets/normalize.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231840cs_/https://www.ruby-lang.org/stylesheets/main.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231840cs_/https://www.ruby-lang.org/stylesheets/pygments.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231840cs_/https://www.ruby-lang.org/stylesheets/mobile.css"> <link rel="stylesheet" type="text/css" href="/web/20240802231840cs_/https://www.ruby-lang.org/stylesheets/print.css"> <link href="https://web.archive.org/web/20240802231840cs_/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/20240802231840/https://www.ruby-lang.org/es/"> <link rel="shortcut icon" type="image/x-icon" href="/web/20240802231840im_/https://www.ruby-lang.org/favicon.ico"> <link href="/web/20240802231840/https://www.ruby-lang.org/es/feeds/news.rss" rel="alternate" title="En español" type="application/rss+xml"> <script type="text/javascript" src="/web/20240802231840js_/https://www.ruby-lang.org/javascripts/jquery.min.js"></script> <script type="text/javascript" src="/web/20240802231840js_/https://www.ruby-lang.org/javascripts/page.js"></script> <script type="text/javascript" src="/web/20240802231840js_/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/20240802231840/https://www.ruby-lang.org/es/"> <h1>Ruby</h1> <h2>El mejor amigo de un desarrollador</h2> </a> <div class="site-links"> <a href="/web/20240802231840/https://www.ruby-lang.org/es/" class="home">Inicio</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/downloads/">Descargas</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/documentation/">Documentación</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/libraries/">Bibliotecas</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/community/">Comunidad</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/">Noticias</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/security/">Seguridad</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/about/">Acerca de Ruby</a> <a href="#" class="menu selected">Menu</a> </div> <div id="search-box"> <form id="search-form" action="https://web.archive.org/web/20240802231840/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/20240802231840im_/https://www.google.com/coop/intl/es/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/es/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="Buscar"/> </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 es...</h1> <p> Un lenguaje de programación dinámico y de código abierto enfocado en la simplicidad y productividad. Su elegante sintaxis se siente natural al leerla y fácil al escribirla. </p> <a href="downloads/" class="download-link">Descarga Ruby</a> o <a href="about/">Leer más...</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/20240802231840/https://www.ruby-lang.org/es/news/2024/06/12/ruby-3-3-3-released/">Publicado Ruby 3.3.3</a></h3> <p>Ruby 3.3.3 ha sido publicado.</p> <p class="post-link"><a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/06/12/ruby-3-3-3-released/">Continuar leyendo...</a></p> <p class="post-info">Publicado por k0kubun el 2024-06-12</p> </div> <div class="post"> <h3><a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/30/ruby-3-3-2-released/">Publicado Ruby 3.3.2</a></h3> <p>Ruby 3.3.2 ha sido publicado.</p> <p class="post-link"><a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/30/ruby-3-3-2-released/">Continuar leyendo...</a></p> <p class="post-info">Publicado por k0kubun el 2024-05-30</p> </div> <div class="post"> <h3><a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/30/datadog-oss-program/">Datadog provee soporte comunitario (software de código abierto) para ruby-lang.org</a></h3> <p>Nos emociona anunciar que el sitio oficial de Ruby, ruby-lang.org, ha adoptado Datadog para el monitoreo proveido por el <a href="https://web.archive.org/web/20240802231840/https://opensource.datadoghq.com/projects/oss-program/">soporte comunitario de Datadog para software de código abierto</a>.</p> <p class="post-link"><a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/30/datadog-oss-program/">Continuar leyendo...</a></p> <p class="post-info">Publicado por hsbt el 2024-05-30</p> </div> <div class="post"> <h3><a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/29/ruby-3-1-6-released/">Publicado Ruby 3.1.6</a></h3> <p>Ruby 3.1.6 ha sido publicado.</p> <p class="post-link"><a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/29/ruby-3-1-6-released/">Continuar leyendo...</a></p> <p class="post-info">Publicado por hsbt el 2024-05-29</p> </div> <div id="news"> <h3>Otras noticias</h3> <ul> <li> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/16/dos-rexml-cve-2024-35176/">CVE-2024-35176: Denegación de servicio en REXML</a><br> <span class="post-info">Publicado por kou el 2024-05-16</span> </li> <li> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/05/16/ruby-3-4-0-preview1-released/">Publicado Ruby 3.4.0 preview1</a><br> <span class="post-info">Publicado por naruse el 2024-05-16</span> </li> <li> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/04/23/ruby-3-3-1-released/">Publicado Ruby 3.3.1</a><br> <span class="post-info">Publicado por naruse el 2024-04-23</span> </li> <li> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/04/23/ruby-3-2-4-released/">Publicado Ruby 3.2.4</a><br> <span class="post-info">Publicado por nagachika el 2024-04-23</span> </li> <li> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/04/23/ruby-3-1-5-released/">Publicado Ruby 3.1.5</a><br> <span class="post-info">Publicado por hsbt el 2024-04-23</span> </li> <li> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/2024/04/23/ruby-3-0-7-released/">Publicado Ruby 3.0.7</a><br> <span class="post-info">Publicado por hsbt el 2024-04-23</span> </li> </ul> <p class="more"> <a href="news/">Más noticias...</a> </p> </div> </div> </div> <hr class="hidden-modern"/> <div id="sidebar-wrapper"> <div id="sidebar"> <div class="navigation"> <h3><strong>Iníciate</strong>, ¡es fácil!</h3> <ul class="menu"> <li><a href="https://web.archive.org/web/20240802231840/https://try.ruby-lang.org/">¡Prueba Ruby! (en tu navegador)</a></li> <li><a href="/web/20240802231840/https://www.ruby-lang.org/es/documentation/quickstart/">Ruby en 20 Minutos</a></li> <li><a href="/web/20240802231840/https://www.ruby-lang.org/es/documentation/ruby-from-other-languages/">Ruby desde otros lenguajes</a></li> </ul> </div> <div class="navigation"> <h3><strong>Explora</strong> un nuevo mundo…</h3> <ul class="menu"> <li><a href="/web/20240802231840/https://www.ruby-lang.org/es/documentation/">Documentación</a></li> <li><a href="https://web.archive.org/web/20240802231840/https://rubybib.org/">Investigación académica</a></li> <li><a href="/web/20240802231840/https://www.ruby-lang.org/es/libraries/">Bibliotecas</a></li> <li><a href="/web/20240802231840/https://www.ruby-lang.org/en/documentation/success-stories/">Casos exitosos (en inglés)</a></li> </ul> </div> <div class="navigation"> <h3><strong>Participa</strong> en una amistosa y creciente comunidad.</h3> <ul> <li><a href="/web/20240802231840/https://www.ruby-lang.org/es/community/mailing-lists/">Listas de correo</a>: Habla sobre Ruby con desarrolladores alrededor del mundo.</li> <li><a href="/web/20240802231840/https://www.ruby-lang.org/es/community/user-groups/">Grupos de usuarios</a>: Ponte en contacto con otros Rubyistas en tu localidad.</li> <li><a href="/web/20240802231840/https://www.ruby-lang.org/en/community/weblogs/">Blogs (en inglés)</a>: Entérate de lo que está sucediendo en la comunidad.</li> <li><a href="/web/20240802231840/https://www.ruby-lang.org/es/community/ruby-core/">Ruby Core</a>: Ayuda a mejorar el futuro de Ruby.</li> <li><a href="https://web.archive.org/web/20240802231840/https://bugs.ruby-lang.org/">Reportes de errores</a>: Reporta o ayuda a resolver problemas en Ruby.</li> </ul> </div> <h3>Feeds de noticias (RSS)</h3> <p><a href="/web/20240802231840/https://www.ruby-lang.org/es/feeds/news.rss">En español</a></p> </div> </div> <hr class="hidden-modern"/> </div> </div> </div> <div class="container"> <div id="footer"> <div class="site-links"> <a href="/web/20240802231840/https://www.ruby-lang.org/es/" class="home">Inicio</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/downloads/">Descargas</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/documentation/">Documentación</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/libraries/">Bibliotecas</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/community/">Comunidad</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/news/">Noticias</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/security/">Seguridad</a> <a href="/web/20240802231840/https://www.ruby-lang.org/es/about/">Acerca de Ruby</a> </div> <p> This site in other languages: <a href="/web/20240802231840/https://www.ruby-lang.org/bg/">Български</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/de/">Deutsch</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/en/">English</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/es/">Español</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/fr/">Français</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/id/">Bahasa Indonesia</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/it/">Italiano</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/ja/">日本語</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/ko/">한국어</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/pl/">polski</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/pt/">Português</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/ru/">Русский</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/tr/">Türkçe</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/vi/">Tiếng Việt</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/zh_cn/">简体中文</a>, <a href="/web/20240802231840/https://www.ruby-lang.org/zh_tw/">繁體中文</a>. </p> <p>Este sitio web está desarrollado con Ruby y <a href="https://web.archive.org/web/20240802231840/http://www.jekyllrb.com/">Jekyll</a> y es orgullosamente mantenido por miembros de la comunidad. Si quieres contribuir, por favor hazlo en <a href="https://web.archive.org/web/20240802231840/https://github.com/ruby/www.ruby-lang.org/">GitHub</a> o contacta a nuestro <a href="https://web.archive.org/web/20240802231840/mailto:webmaster@ruby-lang.org">webmaster</a> si tienes preguntas o comentarios.</p> </div> </div> </body> </html> <!-- FILE ARCHIVED ON 23:18:40 Aug 02, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 21:40:19 Dec 03, 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.58 exclusion.robots: 0.031 exclusion.robots.policy: 0.02 esindex: 0.009 cdx.remote: 36.712 LoadShardBlock: 450.143 (3) PetaboxLoader3.datanode: 236.176 (4) PetaboxLoader3.resolve: 306.448 (3) load_resource: 130.737 -->