Class: Muwu::ProjectException::TextSourceFileNotFound

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

Instance Method Summary collapse

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

#reportObject



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

#typeObject



18
19
20
# File 'lib/muwu/project_exception/text_source_file_not_found.rb', line 18

def type
  :warning
end