Exception: Staticky::Files::IOError
- Defined in:
- lib/staticky/files/error.rb
Overview
Wraps low level I/O errors
Instance Method Summary collapse
-
#cause ⇒ Object
The original exception.
-
#initialize(cause) ⇒ Staticky::Files::IOError
constructor
Instantiate a new ‘Staticky::Files::IOError`.
Constructor Details
#initialize(cause) ⇒ Staticky::Files::IOError
Instantiate a new ‘Staticky::Files::IOError`
18 19 20 21 |
# File 'lib/staticky/files/error.rb', line 18 def initialize(cause) super(cause.) @_cause = cause end |
Instance Method Details
#cause ⇒ Object
The original exception
26 27 28 |
# File 'lib/staticky/files/error.rb', line 26 def cause @_cause end |