Exception: ObjectTracer::NotAClassError
- Defined in:
- lib/object_tracer/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/object_tracer/exceptions.rb', line 12 def initialize(object) super("target object should be a class, got #{object}") end |