lib/myosx/homebrew.rb in myosx-0.2.6 vs lib/myosx/homebrew.rb in myosx-0.2.7
- old
+ new
@@ -2,23 +2,23 @@
#
# Class which configures homebrew and brew bundle
#
require 'yaml'
require 'git'
-require_relative 'config'
+require_relative 'konfig'
-class Homebrew < Config
+class Homebrew
def config
- Config.new.global['homebrew']
+ Konfig.new.global['homebrew']
end
def packages
config['packages']
end
def brewfile
- return File.join(Config.new.workspace_directory, 'Brewfile')
+ return File.join(Konfig.new.workspace_directory, 'Brewfile')
end
def brewfile_out(packages)
output = ''
packages.each do |type, package_array|