Exception: JDCManifests::InvalidManifest
- Inherits:
-
JDC::UserFriendlyError
- Object
- RuntimeError
- JDC::UserFriendlyError
- JDCManifests::InvalidManifest
- Defined in:
- lib/manifests/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.
7 8 9 |
# File 'lib/manifests/errors.rb', line 7 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
5 6 7 |
# File 'lib/manifests/errors.rb', line 5 def file @file end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/manifests/errors.rb', line 11 def to_s "Manifest file '#{@file}' is malformed." end |