class Suppository::Repository

Attributes

archs[R]
dists[R]
path[R]
suppository[R]

Public Class Methods

new(path) click to toggle source
# File lib/suppository/repository.rb, line 7
def initialize(path)
  @path = File.expand_path(path)
  @dists = %w[natty lucid precise saucy trusty xenial].sort
  @archs = %w[amd64 i386].sort
  @suppository = "#{@path}/.suppository"
end

Public Instance Methods

exist?() click to toggle source
# File lib/suppository/repository.rb, line 14
def exist?
  File.exist? @suppository
end