From: Bazsl Date: 2007-10-22T00:39:49+09:00 Subject: Re: Can class methods be in a module? tho_mica_l wrote: > module FtpClientMod > def do_send(file_template, show_progress) > puts "do_send #{file_template}" > end > end > > class FtpClient > class << self > include FtpClientMod > end > end > > FtpClient.do_send('foo', 0) > > > > > Thanks. That works but the method in the module does not have access to class variables. Is there any way to give the method in the module access to class variables?