Exception: PkgConfig::NotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/autobuild/pkgconfig.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ NotFound

Returns a new instance of NotFound.



6
7
8
9
# File 'lib/autobuild/pkgconfig.rb', line 6

def initialize(name)
    @name = name
    super()
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/autobuild/pkgconfig.rb', line 4

def name
  @name
end

Instance Method Details

#to_sObject



11
12
13
# File 'lib/autobuild/pkgconfig.rb', line 11

def to_s
    "#{name} is not available to pkg-config"
end