Exception: Omnibus::NoPackageMetadataFile
- Defined in:
- lib/omnibus/exceptions.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ NoPackageMetadataFile
constructor
A new instance of NoPackageMetadataFile.
- #to_s ⇒ Object
Constructor Details
#initialize(path) ⇒ NoPackageMetadataFile
Returns a new instance of NoPackageMetadataFile.
35 36 37 |
# File 'lib/omnibus/exceptions.rb', line 35 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/omnibus/exceptions.rb', line 39 def to_s <<~EOH Could not locate or access the package metadata file at the given path: #{@path} EOH end |