Exception: Timecop::SafeModeException
- Inherits:
-
StandardError
- Object
- StandardError
- Timecop::SafeModeException
- Defined in:
- lib/timecop/timecop.rb
Instance Method Summary collapse
-
#initialize ⇒ SafeModeException
constructor
A new instance of SafeModeException.
Constructor Details
#initialize ⇒ SafeModeException
Returns a new instance of SafeModeException.
257 258 259 |
# File 'lib/timecop/timecop.rb', line 257 def initialize super "Safe mode is enabled, only calls passing a block are allowed." end |