Exception: Epuber::Compiler::FileFinders::FileNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Epuber::Compiler::FileFinders::FileNotFoundError
- Defined in:
- lib/epuber/compiler/file_finders/abstract.rb
Instance Attribute Summary collapse
- #context_path ⇒ String readonly
- #pattern ⇒ String readonly
Instance Method Summary collapse
-
#initialize(pattern, context_path) ⇒ FileNotFoundError
constructor
A new instance of FileNotFoundError.
- #to_s ⇒ Object
Constructor Details
#initialize(pattern, context_path) ⇒ FileNotFoundError
Returns a new instance of FileNotFoundError.
18 19 20 21 22 23 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 18 def initialize(pattern, context_path) super() @pattern = pattern @context_path = context_path end |
Instance Attribute Details
#context_path ⇒ String (readonly)
13 14 15 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 13 def context_path @context_path end |
#pattern ⇒ String (readonly)
9 10 11 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 9 def pattern @pattern end |
Instance Method Details
#to_s ⇒ Object
25 26 27 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 25 def to_s "Not found file matching pattern `#{pattern}` from context path #{context_path}." end |