Exception: Gem::MiniMirror::ResourceHandler::AlreadyRegistered

Inherits:
Exception
  • Object
show all
Defined in:
lib/rubygems/mini_mirror/resource_handler.rb

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ AlreadyRegistered

Returns a new instance of AlreadyRegistered.



6
7
8
# File 'lib/rubygems/mini_mirror/resource_handler.rb', line 6

def initialize(type)
  @type = type
end

Instance Method Details

#messageObject



9
10
11
# File 'lib/rubygems/mini_mirror/resource_handler.rb', line 9

def message
  "already registered #@type"
end