About 49,600 results
Open links in new tab
  1. index - Documentation for Ruby 4.0

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

  2. 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.

  3. class String - Documentation for Ruby 4.0

    In the simplest case, the dumped string contains the original string, enclosed in double-quotes; this example is done in irb (interactive Ruby), which uses method ‘inspect` to render the results:

  4. Bug #18658: Need openssl 3 support for Ubuntu 22.04 (Ruby 2.7.x and …

    Having helped several co-workers to install ruby-2.7 and 3.0 on their Ubuntu-22.04, I support backporting the openssl-3.0 gem to these ruby versions, similar to how Ubuntu patched their ruby …

  5. Official Ruby FAQ

    Ruby is a simple and powerful object-oriented programming language, created by Yukihiro Matsumoto (who goes by the handle “Matz” in this document and on the mailing lists).

  6. Success Stories - Ruby Programming Language

    NASA Langley Research Center uses Ruby to conduct simulations. A research group in Motorola uses Ruby to script a simulator, both to generate scenarios and to post process the data.

  7. class Hash - Documentation for Ruby 4.0

    person = {name: 'Matz', language: 'Ruby'} person # => {name: "Matz", language: "Ruby"} You can use a hash to give names to method arguments:

  8. class ARGF - Documentation for Ruby 4.0

    Initially, it contains the command-line arguments and options that are passed to the Ruby program; the program can modify that array as it likes. ARGF may be thought of as the argument files object.

  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. pattern_matching - Documentation for Ruby 4.0

    Pattern matching Pattern matching is a feature allowing deep matching of structured values: checking the structure and binding the matched parts to local variables. Pattern matching in Ruby is …