Exception: Akabei::Package::NotFound
- Defined in:
- lib/akabei/package.rb
Instance Attribute Summary collapse
-
#archive ⇒ Object
readonly
Returns the value of attribute archive.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(archive, path) ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(archive, path) ⇒ NotFound
Returns a new instance of NotFound.
13 14 15 16 17 |
# File 'lib/akabei/package.rb', line 13 def initialize(archive, path) super("#{path} is not found in #{archive}") @path = path @archive = archive end |
Instance Attribute Details
#archive ⇒ Object (readonly)
Returns the value of attribute archive.
11 12 13 |
# File 'lib/akabei/package.rb', line 11 def archive @archive end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
11 12 13 |
# File 'lib/akabei/package.rb', line 11 def path @path end |