Exception: Omnibus::NoPackageFile
- Defined in:
- lib/omnibus/exceptions.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ NoPackageFile
constructor
A new instance of NoPackageFile.
- #to_s ⇒ Object
Constructor Details
#initialize(path) ⇒ NoPackageFile
Returns a new instance of NoPackageFile.
21 22 23 |
# File 'lib/omnibus/exceptions.rb', line 21 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/omnibus/exceptions.rb', line 25 def to_s <<~EOH Could not locate or access the package at the given path: #{@path} EOH end |