Exception: TappingDevice::NotAnActiveRecordInstanceError
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- TappingDevice::NotAnActiveRecordInstanceError
- Defined in:
- lib/tapping_device/exceptions.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ NotAnActiveRecordInstanceError
constructor
A new instance of NotAnActiveRecordInstanceError.
Constructor Details
#initialize(object) ⇒ NotAnActiveRecordInstanceError
Returns a new instance of NotAnActiveRecordInstanceError.
6 7 8 |
# File 'lib/tapping_device/exceptions.rb', line 6 def initialize(object) super("target object should be an instance of ActiveRecord::Base, got #{object}") end |