Skip to content

@jvehent /gist:3783268
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.