module RuboCop::Chef::CookbookOnly::ClassMethods
Attributes
Public Instance Methods
Source
# File lib/rubocop/chef/cookbook_only.rb, line 53 def cookbook_only_segments @cookbook_only_segments || Hash.new(true) end
Source
# File lib/rubocop/chef/cookbook_only.rb, line 57 def included(klass) super klass.extend(ClassMethods) end
Calls superclass method