public
Created

  • Download Gist
gistfile1.md
Markdown

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 methodfuncA' for ModuleB:Module`

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.