Results for: "module_function"

No documentation available
No documentation available
No documentation available

Calculate cursor position in word wrapped content.

No documentation available
No documentation available

Creates an option parser and fills it in with the help info for the command.

Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.

Adds a runtime dependency named gem with requirements to this gem.

Usage:

spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4'
No documentation available
No documentation available

Add the –key option

Add the –otp option

No documentation available

Default options for the gem install and update commands.

Add the –http-proxy option

Add the –source option

No documentation available
No documentation available

Add the –platform option to the option parser.

No documentation available

Initiates the SSL/TLS handshake as a client in non-blocking manner.

# emulates blocking connect
begin
  ssl.connect_nonblock
rescue IO::WaitReadable
  IO.select([s2])
  retry
rescue IO::WaitWritable
  IO.select(nil, [s2])
  retry
end

By specifying a keyword argument exception to false, you can indicate that connect_nonblock should not raise an IO::WaitReadable or IO::WaitWritable exception, but return the symbol :wait_readable or :wait_writable instead.

Create an exception with class klass and message

No documentation available
No documentation available
Search took: 13ms  ·  Total Results: 5313