Exception: TappingDevice::NotAClassError

Inherits:
Exception
  • Object
show all
Defined in:
lib/tapping_device/exceptions.rb

Instance Method Summary collapse

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