Sometimes you have a need for an object method which the class author did not foresee. For instance, in our previous installment, we used the following code to accumulate packets until an ending packet was found:
class BufferedConnection < FMTP::Connection def receive buffer = "" […]Blogroll
Archives
-
Recent Posts
Tags
activerecord art beauty books c++ code conferences decor design diversions extensions generics github hacks homestar runner humor injection irb java javascript languages legacy monkeypatching motivation mst3k ninjas ockham office openid patterns philosophy pipecleaners plugins practices professionalism projects rails ramaze refactoring repl ruby scala shaving sustainability testing