Exception: Bellboy::BellboyIOError
- Inherits:
-
BellboyError
- Object
- StandardError
- BellboyError
- Bellboy::BellboyIOError
- Defined in:
- lib/bellboy/errors.rb
Overview
Base for all Read/Write/Create errors
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(filepath) ⇒ BellboyIOError
constructor
A new instance of BellboyIOError.
Constructor Details
#initialize(filepath) ⇒ BellboyIOError
Returns a new instance of BellboyIOError.
27 28 29 |
# File 'lib/bellboy/errors.rb', line 27 def initialize(filepath) @filepath = File.dirname(File.(filepath)) rescue filepath end |