Exception: PkgConfig::NotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- PkgConfig::NotFound
- Defined in:
- lib/autobuild/pkgconfig.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ NotFound
constructor
A new instance of NotFound.
- #to_s ⇒ Object
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
#name ⇒ Object (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_s ⇒ Object
11 12 13 |
# File 'lib/autobuild/pkgconfig.rb', line 11 def to_s "#{name} is not available to pkg-config" end |