Today we will examine ruby’s implementation of the Proxy pattern, with the Delegator class. We have already seen and example of it in use with WeakRef. A Delegator can be used when you want to interce… more →
End of Linewrote 1 year ago: Today we will examine ruby’s implementation of the Proxy pattern, with the Delegator class. We have … more →
wrote 1 year ago: Once again, we shall dive into the depths of ruby’s standard library and fish WeakRef out. Fir … more →
wrote 1 year ago: I asked for suggestions about what to cover next, and postmodern suggested the Timeout library among … more →
wrote 1 year ago: Pathname is useful library that demonstrates a good refactoring: “Replace Data Value With Obje … more →
wrote 1 year ago: We’re going to take a look at another little piece of ruby’s standard library, this time … more →
wrote 1 year ago: TSort is an interesting part of the ruby standard library that performs topological sorting. Topolog … more →
wrote 1 year ago: Recently we looked at MiniTest, this time around we’re going to dive into MiniTest::Mock, a ti … more →
wrote 1 year ago: When dealing with embedded software, I often find useful to have the standard C functions we all lea … more →
wrote 1 year ago: Previously we answered a few questions about Minitest, and learned a little about exit hooks and int … more →
wrote 1 year ago: Ghetto or not, if you want to use or contribute to the ruby standard library, getting to know the so … more →
wrote 3 years ago: ‘C’ has always been my favourite language due to simple facts that it is beautiful and l … more →
wrote 3 years ago: I used to write in files like this : open('somefile', 'w').write(content) It’s ugly for sure, … more →