Slide 77
Slide 77 text
SUGAR.RB
class Chef
module Sugar
require_relative 'sugar/architecture'
# ...
end
end
!
Chef::Recipe.send(:include, Chef::Sugar::DSL)
Chef::Resource.send(:include, Chef::Sugar::DSL)
Chef::Provider.send(:include, Chef::Sugar::DSL)
!
Object.send(:include, Chef::Sugar::Kernel)