lib/myosx.rb in myosx-0.2.2 vs lib/myosx.rb in myosx-0.2.4
- old
+ new
@@ -5,20 +5,20 @@
require "myosx/rbenv"
module Myosx
class Exec < Config
def initialize
- Config.new.create_workspace
+ Config.new.create_workspace(Config.new.workspace_directory)
- if $global_config['dotfiles']
+ if Config.new.global['dotfiles']
Dotfiles.new.exec
end
- if $global_config['homebrew']
+ if Config.new.global['homebrew']
Homebrew.new.exec
end
- if $global_config['rbenv']
+ if Config.new.global['rbenv']
Rbenv.new.exec
end
end
end
end