forgetting (*args,&block) is always a bug.
-
-
@wycats my normal MO is : def f(*args, &block) self.class(self, *args, &block); end # cuz usable w/o an instance in REPL.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats does not use @instance_variables -> class method for composability -
@drawohara Depends if you *want* to let subclasses override. Sometimes data encapsulation is useful.
End of conversation
New conversation -
-
-
@wycats BUT. i did NOT know that ;-) -
@drawohara I use it a lot when subclassing initialize ;)
End of conversation
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.