Sha256: acc5a66defef251831646a9f96c4cb9836656b65e1f2d77e7dfca22ebad6f682

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

require "myosx/version"
require "myosx/config"
require "myosx/dotfiles"
require "myosx/homebrew"
require "myosx/rbenv"

module Myosx
  class Exec < Config
    def initialize
      Config.new.create_workspace(Config.new.workspace_directory)

      if Config.new.global['dotfiles']
        Dotfiles.new.exec
      end

      if Config.new.global['homebrew']
        Homebrew.new.exec
      end

      if Config.new.global['rbenv']
        Rbenv.new.exec
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
myosx-0.2.5 lib/myosx.rb
myosx-0.2.4 lib/myosx.rb