Exception: Timecop::SafeModeException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/timecop/timecop.rb

Instance Method Summary collapse

Constructor Details

#initializeSafeModeException

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