Class: Muwu::ProjectException::TextSourceFileNotFound
- Inherits:
-
Object
- Object
- Muwu::ProjectException::TextSourceFileNotFound
- Defined in:
- lib/muwu/project_exception/text_source_file_not_found.rb
Instance Method Summary collapse
-
#initialize(text_readfile) ⇒ TextSourceFileNotFound
constructor
A new instance of TextSourceFileNotFound.
- #report ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(text_readfile) ⇒ TextSourceFileNotFound
Returns a new instance of TextSourceFileNotFound.
6 7 8 9 10 |
# File 'lib/muwu/project_exception/text_source_file_not_found.rb', line 6 def initialize(text_readfile) @filename = text_readfile.source_filename @numbering = text_readfile.numbering @text_root_name = text_readfile.text_root_name end |
Instance Method Details
#report ⇒ Object
13 14 15 |
# File 'lib/muwu/project_exception/text_source_file_not_found.rb', line 13 def report "file not found `#{@filename}` (#{@text_root_name} #{@numbering})" end |
#type ⇒ Object
18 19 20 |
# File 'lib/muwu/project_exception/text_source_file_not_found.rb', line 18 def type :warning end |