From: Robert Dober Date: 2008-01-18T06:29:39+09:00 Subject: Re: Properly using Ruby's specialness On Jan 17, 2008 10:10 PM, James Gray wrote: > > In an example in Practical Ruby Projects, the author has to load some > some operating specific code. He feels that open classes are great > for that. He codes up the general interface of the class and then > insert the other methods tailored to the operating system later. > > This does seem to come out smoother than having to deal with a bunch > of specific subclasses. The unneeded code is just not added in. There is almost no Ruby quiz solution I have ever submitted that does not do that, it feels somehow like, look Ruby I know better than you do though ;) > > James Edward Gray II > > > -- http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein