Results for: "max_by"

Equivalent to get_byte. This method is obsolete; use get_byte instead.

No documentation available

Returns the version of libyaml being used

The path to the running Ruby interpreter.

Returns a String containing the API compatibility version of Ruby

Returns the latest release version of RubyGems.

A Gem::Version for the currently running Ruby.

A Gem::Version for the currently running RubyGems

Paths where RubyGems’ .rb files and bin files are installed

A wrapper around RUBY_ENGINE const that may not be defined

Allows setting path to Ruby. This method is available when requiring ‘rubygems/test_case’

See Zlib::GzipReader documentation for a description.

See Zlib::GzipReader documentation for a description.

See Zlib::GzipReader documentation for a description.

Returns the RubyGems.org API key

Sets the RubyGems.org API key to api_key

The version of Ruby required by this gem. The ruby version can be specified to the patch-level:

$ ruby -v -e 'p Gem.ruby_version'
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
#<Gem::Version "2.0.0.247">

Because patch-level is taken into account, be very careful specifying using ‘<=`: `<= 2.2.2` will not match any patch-level of 2.2.2 after the `p0` release. It is much safer to specify `< 2.2.3` instead

Usage:

# This gem will work with 1.8.6 or greater...
spec.required_ruby_version = '>= 1.8.6'

# Only with ruby 2.0.x
spec.required_ruby_version = '~> 2.0'

# Only with ruby between 2.2.0 and 2.2.2
spec.required_ruby_version = ['>= 2.2.0', '< 2.2.3']

The RubyGems version required by this gem

Used to detect if the gem is bundled in older version of Ruby, but not detectable as default gem (see BasicSpecification#default_gem?).

Return a string containing a Ruby code representation of the given object.

Returns a Ruby code representation of this specification, such that it can be eval’ed and reconstruct the same specification later. Attributes that still have their default values are omitted.

Returns a Ruby lighter-weight code representation of this specification, used for indexing only.

See to_ruby.

No documentation available
No documentation available

Finds the path to the Ruby executable

Search took: 3ms  ·  Total Results: 607