|
- Download Ruby | Ruby
See the Installation page for details on building Ruby from source If you have an issue compiling Ruby, consider using one of the third party tools mentioned above
- 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 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
- NEWS - Documentation for Ruby 3. 4
To enable this feature, configure Ruby with --with-modular-gc at build time GC libraries can be loaded at runtime using the environment variable RUBY_GC_LIBRARY
- exceptions - Documentation for Ruby 4. 0
If you are inside a method, you do not need to use begin or end unless you wish to limit the scope of rescued exceptions:
- class StringScanner - Documentation for Ruby 4. 0
Pattern matching in StringScanner is the same as in Ruby’s, except for its fixed-anchor property, which determines the meaning of '\A': false (the default): matches the current byte position
- class ARGF - Documentation for Ruby 4. 0
Initially, it contains the command-line arguments and options that are passed to the Ruby program; the program can modify that array as it likes ARGF may be thought of as the argument files object
- class DateTime - Documentation for Ruby 4. 0
So when should you use DateTime in Ruby and when should you use Time? Almost certainly you’ll want to use Time since your app is probably dealing with current dates and times
|
|
|