class Archlinux::RepoPkgs

can combined several repos

Attributes

config[RW]
list[RW]

Public Class Methods

new(list, config: Archlinux.config) click to toggle source
# File lib/aur/repos.rb, line 138
def initialize(list, config: Archlinux.config)
        @list=list
        @config=config
end

Public Instance Methods

infos() click to toggle source
# File lib/aur/repos.rb, line 143
def infos
        Repo.info(*@list)
end
packages(refresh=false) click to toggle source
# File lib/aur/repos.rb, line 147
def packages(refresh=false)
        @packages=nil if refresh
        @packages ||= @config.to_packages(infos)
end