我有一個主模塊LatexCurriculumVitae:未初始化的常量LatexCurriculumVitae
module LatexCurriculumVitae
LatexCurriculumVitae::Email.create_email_smtp('Heribert Hunz', '[email protected]', 'Feger', 'male', 'no', 'yes')
end
另外一個
module LatexCurriculumVitae::Email
def self.create_email_smtp(contact, emailaddress, jobtitle, contact_sex, proactive, letter)
[...]
end
如果我運行主模塊我得到:
未初始化的常量LatexCurriculumVitae( NameError)
但是發生?
感謝您的工作:-) –