Exception: Divan::DatabaseNotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/divan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#databaseObject (readonly)

Returns the value of attribute database.



36
37
38
# File 'lib/divan.rb', line 36

def database
  @database
end