Module: Gem::MiniMirror::Resource::ClassMethods

Defined in:
lib/rubygems/mini_mirror/resource.rb

Instance Method Summary collapse

Instance Method Details

#register(options = {}) ⇒ Object



16
17
18
# File 'lib/rubygems/mini_mirror/resource.rb', line 16

def register(options={})
  Gem::MiniMirror.resources_handler.add(self, options[:type], options[:ext])
end