Exception: Divan::DatabaseNotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Divan::DatabaseNotFound
- Defined in:
- lib/divan.rb
Instance Attribute Summary collapse
-
#database ⇒ Object
readonly
Returns the value of attribute database.
Instance Method Summary collapse
-
#initialize(database) ⇒ DatabaseNotFound
constructor
A new instance of DatabaseNotFound.
Constructor Details
#initialize(database) ⇒ DatabaseNotFound
Returns a new instance of DatabaseNotFound.
37 38 39 |
# File 'lib/divan.rb', line 37 def initialize(database) @database = database end |
Instance Attribute Details
#database ⇒ Object (readonly)
Returns the value of attribute database.
36 37 38 |
# File 'lib/divan.rb', line 36 def database @database end |