Exception: Omnibus::NoPackageMetadataFile

Inherits:
Error
  • Object
show all
Defined in:
lib/omnibus/exceptions.rb

Instance Method Summary collapse

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_sObject



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