Exception: Hijacker::InvalidDatabase
- Inherits:
-
StandardError
- Object
- StandardError
- Hijacker::InvalidDatabase
- Defined in:
- lib/hijacker.rb
Instance Attribute Summary collapse
-
#database ⇒ Object
readonly
Returns the value of attribute database.
Instance Method Summary collapse
-
#initialize(database, message = "Database #{database} not found") ⇒ InvalidDatabase
constructor
A new instance of InvalidDatabase.
Constructor Details
#initialize(database, message = "Database #{database} not found") ⇒ InvalidDatabase
Returns a new instance of InvalidDatabase.
11 12 13 14 |
# File 'lib/hijacker.rb', line 11 def initialize(database, = "Database #{database} not found") @database = database super() end |
Instance Attribute Details
#database ⇒ Object (readonly)
Returns the value of attribute database.
10 11 12 |
# File 'lib/hijacker.rb', line 10 def database @database end |