index - Documentation for Ruby 3.5
Ruby Documentation Welcome to the official Ruby programming language documentation. Getting Started New to Ruby? Start with our Getting Started Guide. Core Classes and …
Installing Ruby
If you cannot compile your own Ruby, and you do not want to use a third-party tool, you can use your system’s package manager to install Ruby. Some members of the Ruby community feel …
class Regexp - Documentation for Ruby 3.5
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.
exceptions - Documentation for Ruby 3.5
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.
module Math - Documentation for Ruby 3.5
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 …
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 …
operators - Documentation for Ruby 3.5
Operators 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 …
strftime_formatting - Documentation for Ruby 3.5
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. …
module YAML - Documentation for Ruby 3.5
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 …
Ruby Issue Tracking System
This system is hosting the development of Ruby language and its related projects. You must register your account and activate it via an email before reporting issues.