From: Bob Calco Date: 2001-12-08T10:05:06+09:00 Subject: [ruby-talk:27882] Re: Trolling ;) Well, duh. The Honesty module is inherently incompatible with the methods of the President, which attempts to reinterpret the functions of Honesty to protect the activities of the Intern. Sincerely, Bob Calco # -----Original Message----- # From: Ralph Mason [mailto:ralph.mason@telogis.com] # Sent: Friday, December 07, 2001 7:58 PM # To: ruby-talk ML # Subject: [ruby-talk:27881] Re: Trolling ;) # # # This doesn't work is it a bug? # # Class President # include Intern # include Honesty # end # # Ralph # # ----- Original Message ----- # From: "Bob Calco" # To: "ruby-talk ML" # Sent: Saturday, December 08, 2001 12:46 PM # Subject: [ruby-talk:27877] Re: Trolling ;) # # > You might just want to make use of Ruby's mixin technology, here. After # all # > are many potential objects that suck, regardless of class. The following # > should clarify: # > # > module Intern # > def suck # > puts "sucking..." # > end # > end # > # > class Vacuum # > include Intern # > end # > # > (That's decidedly bad DC humor...sorry, I couldn't resist.) # > # > ;) # > # > Bob Calco # > # > # # > # > -----Original Message----- # > # > From: dave@thomases.com [mailto:dave@thomases.com]On Behalf Of Dave # > # > # > # > "Rich Kilmer" writes: # > # > # > # > > class Vacuum # > # > > def Vacuum.suck # > # > > puts "sucking..." # > # > > end # > # > > end # > # > > # > # > > Vacuum.suck # > # > # > # > But sucking is rarely a class act :) # > # # > # # > # # > # > # # #