From: Pat Maddox Date: 2006-05-14T15:31:34+09:00 Subject: Re: "Seeing Metaclasses Clearly" > I also don't understand why this doesn't work, I thought it was the > same thing as the first example, just without the helper methods that > why wrote: > > class Truck > def self.company(name) > class << self > instance_eval do > define_method(name) { name } > end > end > end > end I forgot to give the error message when I inherit from this Truck class and call company: ArgumentError: empty symbol string