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

Instance Methods

Add the –platform option to the option parser.

Add the –prerelease option to the option parser.

Add the –version option to the option parser.

Extract platform given on the command line