Exception: Akabei::Package::NotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/akabei/package.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#archiveObject (readonly)

Returns the value of attribute archive.



11
12
13
# File 'lib/akabei/package.rb', line 11

def archive
  @archive
end

#pathObject (readonly)

Returns the value of attribute path.



11
12
13
# File 'lib/akabei/package.rb', line 11

def path
  @path
end