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.
21 22 23 24 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 21 def initialize(pattern, context_path) @pattern = pattern @context_path = context_path end |
Instance Attribute Details
#context_path ⇒ String (readonly)
16 17 18 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 16 def context_path @context_path end |
#pattern ⇒ String (readonly)
12 13 14 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 12 def pattern @pattern end |
Instance Method Details
#to_s ⇒ Object
26 27 28 |
# File 'lib/epuber/compiler/file_finders/abstract.rb', line 26 def to_s "Not found file matching pattern `#{pattern}` from context path #{context_path}." end |