About 47,500 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 …

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

  4. Ruby 3.4.0 Released - Ruby Programming Language

    Dec 25, 2024 · Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, and is now developed as Open Source. It runs on multiple platforms and is used all over the world …

  5. module Math - Documentation for Ruby 4.0

    See class Float for the constants that affect Ruby’s floating-point arithmetic. What’s Here Trigonometric Functions ::cos: Returns the cosine of the given argument. ::sin: Returns the …

  6. class Class - Documentation for Ruby 4.0

    class Class Classes in Ruby are first-class objects—each is an instance of class Class. Typically, you create a new class by using:

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

    Syck was the original YAML implementation in Ruby’s standard library developed by why the lucky stiff. You can still use Syck, if you prefer, for parsing and emitting YAML, but you must …

  9. standard_library - Documentation for Ruby 4.0

    The Ruby Standard Library is a large collection of classes and modules you can require in your code to gain additional features. Below is an overview of the libraries and extensions, followed …

  10. 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: