Exception: Isolator::Ignorer::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Isolator::Ignorer::ParseError
- Defined in:
- lib/isolator/ignorer.rb
Instance Method Summary collapse
-
#initialize(file_path, klass) ⇒ ParseError
constructor
A new instance of ParseError.
- #message ⇒ Object
Constructor Details
#initialize(file_path, klass) ⇒ ParseError
Returns a new instance of ParseError.
7 8 9 10 |
# File 'lib/isolator/ignorer.rb', line 7 def initialize(file_path, klass) @file_path = file_path @klass = klass end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/isolator/ignorer.rb', line 12 def "Unable to parse ignore config file #{@file_path}. Expected Hash, got #{@klass}." end |