Class: Muwu::ProjectException::MetadataFileNotFound
- Inherits:
-
Object
- Object
- Muwu::ProjectException::MetadataFileNotFound
- Defined in:
- lib/muwu/project_exception/metadata_file_not_found.rb
Instance Method Summary collapse
-
#initialize(project) ⇒ MetadataFileNotFound
constructor
A new instance of MetadataFileNotFound.
- #report ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(project) ⇒ MetadataFileNotFound
Returns a new instance of MetadataFileNotFound.
7 8 9 |
# File 'lib/muwu/project_exception/metadata_file_not_found.rb', line 7 def initialize(project) @filename = project. end |
Instance Method Details
#report ⇒ Object
12 13 14 |
# File 'lib/muwu/project_exception/metadata_file_not_found.rb', line 12 def report "The metadata file `#{@filename}` could not be found." end |
#type ⇒ Object
17 18 19 |
# File 'lib/muwu/project_exception/metadata_file_not_found.rb', line 17 def type :warning end |