cookbook/whatever/libraries/ModuleA.rb
module ModuleA
def functA()
end
end
cookbook/whatever/libraries/ModuleB.rb
module ModuleB
module_function
include moduleA
def funcB()
funcA()
end
end
gives
[Tue, 25 Sep 2012 17:18:15 +0000] FATAL: NoMethodError: undefined method
funcA' for ModuleB:Module`