Fun Ruby trick: Module#< can be used to see if something is a subclass of something else: Object < BasicObject # => true
-
-
@steveklabnik@bascule that situation is pretty rare, thoughThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@steveklabnik@bascule framework authors would probably find it useful if they’re using inheritance (ActiveRecord::Base, for instance) -
@fowlduck
@bascule yeah, I originally found it because of Rails - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.