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

    Use the following links to access the comprehensive set of libraries included with Ruby:

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

  4. operators - Documentation for Ruby 4.0

    In Ruby, operators such as +, are defined as methods on the class. Literals define their methods within the lower level, C language. String class, for example. Ruby objects can define or …

  5. Ruby Programming Language

    Ruby is copyrighted free software by Yukihiro Matsumoto <[email protected]>. You can redistribute it and/or modify it under either the terms of the 2-clause BSDL (see the file BSDL), or the …

  6. class Struct - Documentation for Ruby 4.0

    Class \\Struct provides a convenient way to create a simple class that can store and fetch values. tt>; the first argument, a string, is the name of th

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

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

  9. Ruby 3.5.0 preview1 Released

    Apr 18, 2025 · 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 …

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