Class: RocketFuel::Fix::CommandLineTools::DownloadRoutine
- Inherits:
-
Object
- Object
- RocketFuel::Fix::CommandLineTools::DownloadRoutine
- Includes:
- Thor::Base
- Defined in:
- lib/rocket_fuel/fix/command_line_tools/download_routine.rb
Constant Summary collapse
- PREF_NAMESPACE =
File.("#{ENV['HOME']}/Library/Preferences/com.apple.Safari")
Instance Method Summary collapse
-
#initialize ⇒ DownloadRoutine
constructor
A new instance of DownloadRoutine.
- #run ⇒ Object
Constructor Details
#initialize ⇒ DownloadRoutine
Returns a new instance of DownloadRoutine.
10 11 12 13 |
# File 'lib/rocket_fuel/fix/command_line_tools/download_routine.rb', line 10 def initialize @script_path = File.join(File.dirname(__FILE__), 'install.applescript') @download = Download.new end |
Instance Method Details
#run ⇒ Object
15 16 17 18 19 |
# File 'lib/rocket_fuel/fix/command_line_tools/download_routine.rb', line 15 def run whitelist_downloads run_applescript await_download_completion end |