Class: CFManifests::InvalidManifest
- Inherits:
-
CF::UserFriendlyError
- Object
- CF::UserFriendlyError
- CFManifests::InvalidManifest
- Defined in:
- lib/manifests-cf-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.
7 8 9 |
# File 'lib/manifests-cf-plugin/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-cf-plugin/errors.rb', line 5 def file @file end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/manifests-cf-plugin/errors.rb', line 11 def to_s "Manifest file '#{@file}' is malformed." end |