You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
On Sat, Jan 10, 2015 at 12:00 PM, bert hajee <bert....@gmail.com> wrote:
Now if we require puppet:
require 'puppet'
module Puppet
puts Module.nesting
end
I get:
<module:Puppet>': undefined method `nesting' for Puppet::Module:Class (NoMethodError)
Puppet has a class named Puppet::Module, and since you're referring to Module inside of Puppet it's interpreting it as a relative name and finding the wrong one. If you do 'puts ::Module.nesting' it should work.