Exception: Lore::Exceptions::Database_Exception
- Defined in:
- lib/lore/exceptions/database_exception.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(msg) ⇒ Database_Exception
constructor
A new instance of Database_Exception.
Constructor Details
#initialize(msg) ⇒ Database_Exception
Returns a new instance of Database_Exception.
9 10 11 |
# File 'lib/lore/exceptions/database_exception.rb', line 9 def initialize(msg) @message = msg end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
7 8 9 |
# File 'lib/lore/exceptions/database_exception.rb', line 7 def @message end |