Class: Sprout::OSXUser

Inherits:
UnixUser show all
Defined in:
lib/sprout/user.rb

Overview

:nodoc:

Constant Summary collapse

@@LIBRARY =
'Library'

Instance Method Summary collapse

Methods inherited from UnixUser

#application_home, #clean_path, #execute, #execute_silent, #execute_thread, #get_exe_path, #get_paths, #get_process_runner, #home, #home=, #in_path?, #initialize, #platform, #repair_executable, #setup_user, #should_repair_executable

Constructor Details

This class inherits a constructor from Sprout::UnixUser

Instance Method Details

#format_application_name(name) ⇒ Object



301
302
303
# File 'lib/sprout/user.rb', line 301

def format_application_name(name)
  return name.capitalize
end

#libraryObject



292
293
294
295
296
297
298
299
# File 'lib/sprout/user.rb', line 292

def library
  lib = File.join(home, @@LIBRARY)
  if(File.exists?(lib))
    return lib
  else
    return super
  end
end