Class: Muwu::ProjectException::OutlineFileNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ OutlineFileNotFound

Returns a new instance of OutlineFileNotFound.



6
7
8
# File 'lib/muwu/project_exception/outline_file_not_found.rb', line 6

def initialize(project)
  @filename = project.outline_filename
end

Instance Method Details

#reportObject



11
12
13
# File 'lib/muwu/project_exception/outline_file_not_found.rb', line 11

def report
  "The outline file `#{@filename}` could not be found."
end

#typeObject



16
17
18
# File 'lib/muwu/project_exception/outline_file_not_found.rb', line 16

def type
  :warning
end