约 68,600 个结果
在新选项卡中打开链接
  1. 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.

  2. About Ruby

    Ruby, as a language, has a few different implementations. This page has been discussing the reference implementation, in the community often referred to as MRI (“Matz’s Ruby …

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

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

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

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

  7. methods - Documentation for Ruby 3.5

    However, by convention, a method with an exclamation point or bang is considered dangerous. In Ruby’s core library the dangerous method implies that when a method ends with a bang (!), it …

  8. class Array - Documentation for Ruby 3.5

    A number of Ruby methods, both in the core and in the standard library, provide instance method to_a, which converts an object to an array. ARGF#to_a Array#to_a Enumerable#to_a …

  9. class Net::HTTPSession - Documentation for Ruby 3.5

    A Ruby URI::Generic object represents an internet URI. It provides, among others, methods scheme, hostname, path, query, and fragment. Schemes An internet URI has a scheme. The …

  10. class String - Documentation for Ruby 3.5

    Encoding. default_internal = 'UTF-8' t = s. encode # => "Ruby™" t. encoding # => #<Encoding:UTF-8> With only argument dst_encoding given, uses that encoding: