[rubygems/rubygems] Move gemcutter utilities code to Gem::Command
https://github.com/rubygems/rubygems/commit/f296645033
This commit is contained in:
parent
5eacb4c52e
commit
c421ef1142
@ -20,6 +20,10 @@ class Gem::Command
|
|||||||
|
|
||||||
include Gem::UserInteraction
|
include Gem::UserInteraction
|
||||||
|
|
||||||
|
OptionParser.accept Symbol do |value|
|
||||||
|
value.to_sym
|
||||||
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
# The name of the command.
|
# The name of the command.
|
||||||
|
|
||||||
|
@ -9,11 +9,6 @@ module Gem::GemcutterUtilities
|
|||||||
|
|
||||||
include Gem::Text
|
include Gem::Text
|
||||||
|
|
||||||
# TODO: move to Gem::Command
|
|
||||||
OptionParser.accept Symbol do |value|
|
|
||||||
value.to_sym
|
|
||||||
end
|
|
||||||
|
|
||||||
attr_writer :host
|
attr_writer :host
|
||||||
|
|
||||||
##
|
##
|
||||||
|
Loading…
x
Reference in New Issue
Block a user