N
Nikita Petrov
Beforehand sorry for my English, I'm from Russia.
I have 2 modules:
module SendMail
def self.send_mail(hash)
# some code
end
end
module ActionMailer
def quoted_printable(text, charset)
# some code
end
end
Please say me, is there any way to have access to method
"quoted_printable" of module ActionMailer from method send_mail of
module SendMail. It would be good, if I pass using Classes in this
situation, because I want to divide
namespaces correctly.
I have 2 modules:
module SendMail
def self.send_mail(hash)
# some code
end
end
module ActionMailer
def quoted_printable(text, charset)
# some code
end
end
Please say me, is there any way to have access to method
"quoted_printable" of module ActionMailer from method send_mail of
module SendMail. It would be good, if I pass using Classes in this
situation, because I want to divide
namespaces correctly.