just finished this book last night, and I highly recommend it ~
http://www.amazon.com/Practical-Object-Oriented-Design-Ruby-ebook/dp/B0096BYG7C
I recommend it because ….
===== SPOILER ALERT !! =====
really nice piece on writing object oriented classes
- how to know less about dependencies and their method signature
- utilizing class inheritance and module mixins
I really like the part it talks about overriding base class methods and using hooks in initializer
==========================
and the book is highly valuable !! compare to other invaluable expensive stuff in Hong Kong.
you can read the kindle version on mobile too if you don't have kindle.
go buy it now, and finish it before you write more ruby code this afternoon.
Cheers,
Eddie