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