Last active
August 29, 2015 14:15
-
-
Save mgreensmith/5d458edd00c051ec5e71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Comrad | |
module Config | |
atttr_accessor :config | |
@config ||= load_config | |
def self.load_config | |
# load from file | |
end | |
end | |
class Chef | |
include Comrad::Config | |
@config = Comrad::Config.config | |
# Config should be available here | |
end | |
class Change | |
# Config should be available here | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment