Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/sup.rb
Instance Method Summary (collapse)
-
- (Object) id
this is for debugging purposes because i keep calling #id on the wrong object and i want it to throw an exception.
Instance Method Details
- (Object) id
this is for debugging purposes because i keep calling #id on the wrong object and i want it to throw an exception
25 26 27 |
# File 'lib/sup.rb', line 25 def id raise "wrong id called on #{self.inspect}" end |