Module | Gem::VersionOption
In: | lib/rubygems/version_option.rb

Mixin methods for —version and —platform Gem::Command options.

### Methods

add_platform_option add_version_option

### Public Instance methods

add_platform_option(task = command, *wrap)

Add the —platform option to the option parser.

add_version_option(task = command, *wrap)

Add the —version option to the option parser.

[Validate]