Exception: Coradoc::FileNotFoundError
- Defined in:
- lib/coradoc/errors.rb
Overview
Error raised when a file is not found
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ FileNotFoundError
constructor
A new instance of FileNotFoundError.
Constructor Details
#initialize(path) ⇒ FileNotFoundError
Returns a new instance of FileNotFoundError.
280 281 282 283 |
# File 'lib/coradoc/errors.rb', line 280 def initialize(path) @path = path super("File not found: #{path}") end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
278 279 280 |
# File 'lib/coradoc/errors.rb', line 278 def path @path end |