About 97,900 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. 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 Modules Explore the …

  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 especially for web …

  5. building_ruby - Documentation for Ruby 4.0

    Miniruby is a version of Ruby which has no external dependencies and lacks certain features. It can be useful in Ruby development because it allows for faster build times.

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

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

  8. 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 sine of the given …

  9. 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 install the ‘syck’ …

  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: