Commit 191d5b17 authored by Seth Chisamore's avatar Seth Chisamore

Allow `Omnibus::Sugarable` to be mixed into an eigenclass

parent dbdf0551
......@@ -30,6 +30,11 @@ 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment