Class: Muwu::ProjectException::OptionsFileNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ OptionsFileNotFound

Returns a new instance of OptionsFileNotFound.



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

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

Instance Method Details

#reportObject



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

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

#typeObject



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

def type
  :warning
end