Exception: Outsider::Installer::InvalidRecordFile
- Inherits:
-
StandardError
- Object
- StandardError
- Outsider::Installer::InvalidRecordFile
- Defined in:
- lib/outsider/outsider.rb
Overview
Exception raised when the record file is not a valid record file
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
The path of the invalid record file.
Instance Method Summary collapse
-
#initialize(file, msg) ⇒ InvalidRecordFile
constructor
Creates a new instance.
Constructor Details
#initialize(file, msg) ⇒ InvalidRecordFile
Creates a new instance
file is the name of the invalid record file, while msg is a message describing why the file is invalid
29 30 31 32 |
# File 'lib/outsider/outsider.rb', line 29 def initialize file, msg @file = file super msg + ": #{@file}" end |
Instance Attribute Details
#file ⇒ Object (readonly)
The path of the invalid record file
23 24 25 |
# File 'lib/outsider/outsider.rb', line 23 def file @file end |