B
Bazsl
Is it possible to put a class method in a module, for example:
module FtpClientMod
def self.do_send(file_template, show_progress)
and include it in a class as follows?
require 'ftpclientmod'
class FtpClient
include FtpClientMod
When I try this I get an error that the method cannot be found.
module FtpClientMod
def self.do_send(file_template, show_progress)
and include it in a class as follows?
require 'ftpclientmod'
class FtpClient
include FtpClientMod
When I try this I get an error that the method cannot be found.