Exception: VMCManifests::InvalidManifest
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- VMCManifests::InvalidManifest
- Defined in:
- lib/manifests-vmc-plugin/lib/manifests-vmc-plugin/errors.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ InvalidManifest
constructor
A new instance of InvalidManifest.
- #to_s ⇒ Object
Constructor Details
#initialize(file) ⇒ InvalidManifest
Returns a new instance of InvalidManifest.
5 6 7 |
# File 'lib/manifests-vmc-plugin/lib/manifests-vmc-plugin/errors.rb', line 5 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
3 4 5 |
# File 'lib/manifests-vmc-plugin/lib/manifests-vmc-plugin/errors.rb', line 3 def file @file end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/manifests-vmc-plugin/lib/manifests-vmc-plugin/errors.rb', line 9 def to_s "Manifest file '#{@file}' is malformed." end |