Exception: Outsider::Installer::InvalidRecordFile

Inherits:
StandardError
  • Object
show all
Defined in:
lib/outsider/outsider.rb

Overview

Exception raised when the record file is not a valid record file

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fileObject (readonly)

The path of the invalid record file



23
24
25
# File 'lib/outsider/outsider.rb', line 23

def file
  @file
end