Skip to content

Commit

Permalink
Moved command_manager to common base class.
Browse files Browse the repository at this point in the history
git-svn-id: http://rubygems.rubyforge.org/svn/trunk@794 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information
jimweirich committed Mar 10, 2005
1 parent 151f63f commit 7f1524b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rubygems/lib/rubygems/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ def handles?(args)

private

def command_manager
Gem::CommandManager.instance
end

def handle_options(args)
args = add_extra_args(args)
@options = @defaults.clone
Expand Down

0 comments on commit 7f1524b

Please sign in to comment.