Class: Sprout::System::VistaSystem
- Inherits:
-
WinSystem
- Object
- BaseSystem
- WinSystem
- Sprout::System::VistaSystem
- Defined in:
- lib/sprout/system/vista_system.rb
Constant Summary
Constants inherited from WinSystem
APPLICATION_DATA, LOCAL_SETTINGS
Instance Method Summary (collapse)
Methods inherited from WinSystem
#can_execute?, #clean_path, #format_application_name, #get_and_execute_process_runner, #get_paths, #home, #library
Methods inherited from BaseSystem
#alt_separator?, #application_home, #can_execute?, #clean_path, #env_home, #env_homedrive, #env_homedrive_and_homepath, #env_homepath, #execute, #execute_silent, #execute_thread, #format_application_name, #get_and_execute_process_runner, #get_process_runner, #home, #home=, #library, #tilde_home, #worst_case_home
Instance Method Details
- (Object) env_userprofile
11 12 13 |
# File 'lib/sprout/system/vista_system.rb', line 11 def env_userprofile ENV['USERPROFILE'] end |
- (Object) find_home
6 7 8 9 |
# File 'lib/sprout/system/vista_system.rb', line 6 def find_home return env_userprofile unless env_userprofile.nil? super end |