About 82,100 results
Open links in new tab
  1. Official Ruby FAQ

    Ruby is a simple and powerful object-oriented programming language, created by Yukihiro Matsumoto (who goes by the handle “Matz” in this document and on the mailing lists).

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

  3. Documentation for Ruby 2.3.0

    Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl).

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

  5. class File - RDoc Documentation - Ruby

    A simple example of using dir_string is as follows. File. expand_path ("ruby", "/usr/bin") #=> "/usr/bin/ruby" A more complex example which also resolves parent directory is as follows. …

  6. class Hash - Documentation for Ruby 2.0.0

    books [: matz] = "The Ruby Language" books [: black] = "The Well-Grounded Rubyist" Hashes are also commonly used as a way to have named parameters in functions.

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

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

  9. Feature #19325: YJIT: Windows support lacking. - Ruby

    I'm a ruby programmer without much C experience, but as a challenge, I tried to figure out how to debug the ruby source code on windows. I think the easiest way to build is to use ruby-loco [1]. …

  10. Official Ruby FAQ

    Does Ruby have class methods? A singleton method of a class object is called a class method. (Actually, the class method is defined in the metaclass, but that is pretty much transparent). …