def foo(bar = 1); end ^^^^^^^
The character offset from the beginning of the source where this location starts.
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
True if the gems in the system satisfy dependency
.
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">
Prereleases can also be specified.
Usage:
# This gem will work with 1.8.6 or greater... spec.required_ruby_version = '>= 1.8.6' # Only with final releases of major version 2 where minor version is at least 3 spec.required_ruby_version = '~> 2.3' # Only prereleases or final releases after 2.6.0.preview2 spec.required_ruby_version = '> 2.6.0.preview2' # This gem will work with 2.3.0 or greater, including major version 3, but lesser than 4.0.0 spec.required_ruby_version = '>= 2.3', '< 4'
The RubyGems version required by this gem
Returns the destination encoding name as a string.
Returns the destination encoding name as a string.
Returns whether the HTTP
session is to be kept alive.
Parses the current JSON
text source and returns the complete data structure as a result. It raises JSON::ParserError
if fail to parse.