mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Move gemcutter utilities code to Gem::Command
f296645033
This commit is contained in:
parent
5eacb4c52e
commit
c421ef1142
2 changed files with 4 additions and 5 deletions
|
@ -20,6 +20,10 @@ class Gem::Command
|
|||
|
||||
include Gem::UserInteraction
|
||||
|
||||
OptionParser.accept Symbol do |value|
|
||||
value.to_sym
|
||||
end
|
||||
|
||||
##
|
||||
# The name of the command.
|
||||
|
||||
|
|
|
@ -9,11 +9,6 @@ module Gem::GemcutterUtilities
|
|||
|
||||
include Gem::Text
|
||||
|
||||
# TODO: move to Gem::Command
|
||||
OptionParser.accept Symbol do |value|
|
||||
value.to_sym
|
||||
end
|
||||
|
||||
attr_writer :host
|
||||
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue