class Autoproj::Ops::Tools::FakePackage

Data structure used to use autobuild importers without a package, to import configuration data.

It has to match the interface of Autobuild::Package that is relevant for importers

Attributes

importer[R]
srcdir[R]
updated[RW]

Used by the autobuild importers

Public Class Methods

new(text_name, srcdir, importer = nil) click to toggle source
Calls superclass method
# File lib/autoproj/ops/tools.rb, line 20
def initialize(text_name, srcdir, importer = nil)
    super(text_name)
    @srcdir = srcdir
    @importer = importer
    @@packages.delete(text_name)
end

Public Instance Methods

add_stat(*args) click to toggle source
# File lib/autoproj/ops/tools.rb, line 31
def add_stat(*args)
end
autoproj_name() click to toggle source
# File lib/autoproj/ops/tools.rb, line 16
def autoproj_name
    name
end
import(**options) click to toggle source
# File lib/autoproj/ops/tools.rb, line 27
def import(**options)
    importer.import(self, **options)
end