# File lib/rubygems/gem_commands.rb, line 179 def add_version_option(taskname, *wrap) add_option('-v', '--version VERSION', "Specify version of gem to #{taskname}", *wrap) do |value, options| options[:version] = value end end