lib/omnibus/sugarable.rb in omnibus-4.1.0 vs lib/omnibus/sugarable.rb in omnibus-5.0.0
- old
+ new
@@ -28,9 +28,14 @@
require 'chef/sugar/shell'
require 'chef/sugar/vagrant'
module Omnibus
module Sugarable
+ def self.extended(base)
+ base.send(:extend, Chef::Sugar::DSL)
+ base.send(:extend, Omnibus::Sugar)
+ end
+
def self.included(base)
base.send(:include, Chef::Sugar::DSL)
base.send(:include, Omnibus::Sugar)
if base < Cleanroom