Exception: TappingDevice::NotAClassError
- Defined in:
- lib/tapping_device/exceptions.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ NotAClassError
constructor
A new instance of NotAClassError.
Constructor Details
#initialize(object) ⇒ NotAClassError
Returns a new instance of NotAClassError.
12 13 14 |
# File 'lib/tapping_device/exceptions.rb', line 12 def initialize(object) super("target object should be a class, got #{object}") end |