Hypothesis: singleton classes on non-Classes are a bad idea (ie lang wart). /cc @bascule @brixen @johnbender
@johnbender @evanphx @brixen @wycats Struct just defines a new class, and OpenStruct can be handled with method_missing
-
-
@bascule I think it's the case that all cases involving singleton methods can be emulated using m_m@johnbender@evanphx@brixen -
@wycats@johnbender@evanphx@brixen Struct is a "factory" that makes classes you can make instances of. Not instance-specific behavior
End of conversation
New conversation -
-
-
@bascule That emulation might be annoying in many cases@johnbender@evanphx@brixenThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.