Class: Muwu::ProjectException::OptionsFileNotFound
- Inherits:
-
Object
- Object
- Muwu::ProjectException::OptionsFileNotFound
- Defined in:
- lib/muwu/project_exception/options_file_not_found.rb
Instance Method Summary collapse
-
#initialize(project) ⇒ OptionsFileNotFound
constructor
A new instance of OptionsFileNotFound.
- #report ⇒ Object
- #type ⇒ Object
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. end |
Instance Method Details
#report ⇒ Object
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 |
#type ⇒ Object
16 17 18 |
# File 'lib/muwu/project_exception/options_file_not_found.rb', line 16 def type :warning end |