About 70,100 results
Open links in new tab
  1. Documentation - Ruby Programming Language

    The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby language, syntax, structure, and some common functions and libraries.

  2. index - Documentation for Ruby 3.4

    Ruby Documentation Welcome to the official Ruby programming language documentation. Getting Started New to Ruby? Start with our Getting Started Guide. Core Classes and …

  3. Ruby Releases

    Mar 3, 2010 · This is a list of Ruby releases. The shown dates correspond to the publication dates of the English versions of release posts and may differ from the actual creation dates of the …

  4. class Regexp - Documentation for Ruby 4.0

    Identical regexp can or cannot run in linear time depending on your ruby binary. Neither forward nor backward compatibility is guaranteed about the return value of this method.

  5. Documentation for Ruby

    Ruby 3.1 (End of Support 2025-04) Ruby 3.0 (End of Support 2024-04) Ruby 2.7 (End of Support 2023-04) Ruby 2.6 (End of Support 2022-04) Ruby 2.5 (End of Support 2021-04) Ruby 2.4 …

  6. exceptions - Documentation for Ruby 4.0

    Ruby code can raise exceptions. Most often, a raised exception is meant to alert the running program that an unusual (i.e., exceptional) situation has arisen, and may need to be handled.

  7. strftime_formatting - Documentation for Ruby 4.0

    Formats for Dates and Times Several Ruby time-related classes have instance method strftime, which returns a formatted string representing all or part of a date or time: Date#strftime. …

  8. class Hash - Documentation for Ruby 4.0

    self. language = hash [:language] end end matz = Dev. new (name: 'Matz', language: 'Ruby') matz # => #<Dev: @name="Matz", @language="Ruby"> Creating a Hash You can create a Hash …

  9. class Hash - Documentation for Ruby 2.0.0

    books [: matz] = "The Ruby Language" books [: black] = "The Well-Grounded Rubyist" Hashes are also commonly used as a way to have named parameters in functions.

  10. class Set - Documentation for Ruby 4.0

    All rights reserved. You can redistribute and/or modify it under the same terms as Ruby. The Set class implements a collection of unordered values with no duplicates. It is a hybrid of Array’s …