Class: Muwu::ProjectException::MetadataFileNotFound

Inherits:
Object
  • Object
show all
Defined in:
lib/muwu/project_exception/metadata_file_not_found.rb

Instance Method Summary collapse

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

#reportObject



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

#typeObject



17
18
19
# File 'lib/muwu/project_exception/metadata_file_not_found.rb', line 17

def type
  :warning
end