Exception: Dbmanager::EnvironmentProtectedError
- Inherits:
-
StandardError
- Object
- StandardError
- Dbmanager::EnvironmentProtectedError
- Defined in:
- lib/dbmanager.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ EnvironmentProtectedError
constructor
A new instance of EnvironmentProtectedError.
Constructor Details
#initialize(message = nil) ⇒ EnvironmentProtectedError
Returns a new instance of EnvironmentProtectedError.
14 15 16 |
# File 'lib/dbmanager.rb', line 14 def initialize(=nil) super || 'sorry the environment is protected from writing' end |