Results for: "gsub"

Returns a copy of str with trailing suffix deleted.

"hello".delete_suffix("llo") #=> "he"
"hello".delete_suffix("hel") #=> "hello"

Deletes trailing suffix from str, returning nil if no change was made.

"hello".delete_suffix!("llo") #=> "he"
"hello".delete_suffix!("hel") #=> nil

Makes a list of existing constants public.

The BigDecimal.double_fig class method returns the number of digits a Float number is allowed to have. The result depends upon the CPU and OS in use.

Returns the methods available to this delegate object as the union of this object’s and _getobj_ public methods.

Returns true if the set is a proper superset of the given set.

Returns a Method of superclass which would be called when super is used or nil if there is no method on superclass.

Returns a Method of superclass which would be called when super is used or nil if there is no method on superclass.

Returns a hash that contains filename as key and coverage array as value. This is the same as ‘Coverage.result(stop: false, clear: false)`.

{
  "file.rb" => [1, 2, nil],
  ...
}

A Gem::Version for the currently running Ruby.

A Gem::Version for the currently running RubyGems

Glob pattern for require-able path suffixes.

A wrapper around RUBY_ENGINE const that may not be defined

Sets the verification flags to the context. See Store#flags=.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Indicates whether this DH instance has a public key associated with it or not. The public key may be retrieved with DH#pub_key.

Indicates whether this DSA instance has a public key associated with it or not. The public key may be retrieved with DSA#public_key.

Returns whether this EC instance has a public key. The public key (EC::Point) can be retrieved with EC#public_key.

The return value is always true since every private key is also a public key.

Sets flags to the Store. flags consists of zero or more of the constants defined in with name V_FLAG_* or’ed together.

Search took: 3ms  ·  Total Results: 275