Module | Gem::LocalRemoteOptions
In: | lib/rubygems/local_remote_options.rb

Mixin methods for local and remote Gem::Command options.

### Methods

accept_uri_http add_bulk_threshold_option add_local_remote_options add_proxy_option add_source_option add_update_sources_option local? remote?

### Public Instance methods

accept_uri_http()

Allows OptionParser to handle HTTP URIs.

add_bulk_threshold_option()

Add the —bulk-threshold option

add_local_remote_options()

Add local/remote options to the command line parser.

add_proxy_option()

Add the —http-proxy option

add_source_option()

Add the —source option

add_update_sources_option()

Add the —source option

local?()

Is local fetching enabled?

remote?()

Is remote fetching enabled?

[Validate]