Exception: Fasterer::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Fasterer::ParseError
- Defined in:
- lib/fasterer/parse_error.rb
Instance Attribute Summary collapse
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
Instance Method Summary collapse
-
#initialize(file_path) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(file_path) ⇒ ParseError
Returns a new instance of ParseError.
5 6 7 8 |
# File 'lib/fasterer/parse_error.rb', line 5 def initialize(file_path) @file_path = file_path super("Unable to read #{file_path}") end |
Instance Attribute Details
#file_path ⇒ Object (readonly)
Returns the value of attribute file_path.
3 4 5 |
# File 'lib/fasterer/parse_error.rb', line 3 def file_path @file_path end |