Module Boson::Index

  1. lib/boson/index.rb

This class manages indexing/storing all commands and libraries. See RepoIndex for details about the index created for each Repo.

Methods

public instance

  1. indexes
  2. update

Public instance methods

indexes ()

Array of indexes, one per repo in Boson.repos.

[show source]
# File lib/boson/index.rb, line 7
    def indexes
      @indexes ||= Boson.repos.map {|e| RepoIndex.new(e) }
    end
update (options={})

Updates all repo indexes.

[show source]
# File lib/boson/index.rb, line 12
    def update(options={})
      indexes.each {|e| e.update(options) }
    end