Class: AllGems::Indexer

Inherits:
Object
  • Object
show all
Defined in:
lib/allgems/Indexer.rb

Class Method Summary collapse

Class Method Details

.index_gem(spec, format) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/allgems/Indexer.rb', line 4

def index_gem(spec, format)
    case format
        when :hanna
            self.index_hanna(spec)
        when :rdoc
            self.index_rdoc(spec)
        when :sdoc
            self.index_sdoc(spec)
    end
    AllGems.logger.info "Gem index is complete for #{spec.full_name}"
end

.index_hanna(spec) ⇒ Object



15
16
# File 'lib/allgems/Indexer.rb', line 15

def index_hanna(spec)
end

.index_rdoc(spec) ⇒ Object



17
18
# File 'lib/allgems/Indexer.rb', line 17

def index_rdoc(spec)
end

.index_sdoc(spec) ⇒ Object



19
20
# File 'lib/allgems/Indexer.rb', line 19

def index_sdoc(spec)
end