Jeffrey Schwab wrote:
# $toplevel has to be set in here,
# where it can really refer to the
# including object.
Nice one Jeffery!
module Test
def self.included( base )
base.module_eval {
def m
puts 'Howdy do'
end
}
end
end
class << self
include Test
end
m # works
Regards,
Jordan