Exception: Gem::MiniMirror::ResourceHandler::AlreadyRegistered
- Inherits:
-
Exception
- Object
- Exception
- Gem::MiniMirror::ResourceHandler::AlreadyRegistered
- Defined in:
- lib/rubygems/mini_mirror/resource_handler.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ AlreadyRegistered
constructor
A new instance of AlreadyRegistered.
- #message ⇒ Object
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
#message ⇒ Object
9 10 11 |
# File 'lib/rubygems/mini_mirror/resource_handler.rb', line 9 def "already registered #@type" end |