|
- index - Documentation for Ruby 4. 0
Use the following links to access the comprehensive set of libraries included with Ruby:
- 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 essential classes and modules: String - Text manipulation and string utilities Symbol - Named identifiers inside the Ruby interpreter
- 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
- operators - Documentation for Ruby 4. 0
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 or overload their own implementation for most operators Here is an example:
- 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 DateTime#strftime Time#strftime Each of these methods takes optional argument format, which has zero or more embedded format specifications (see below)
- 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
- Ruby Programming Language
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab jp> You can redistribute it and or modify it under either the terms of the 2-clause BSDL (see the file BSDL), or the conditions below: 1 You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the
- 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
|
|
|