Class: Factorix::Runtime::Windows::WindowsPath
- Inherits:
-
Object
- Object
- Factorix::Runtime::Windows::WindowsPath
- Defined in:
- lib/factorix/runtime/windows.rb
Overview
Windows-specific path provider
Instance Method Summary collapse
-
#app_data ⇒ Pathname
Get the AppData directory path.
-
#local_app_data ⇒ Pathname
Get the Local AppData directory path.
-
#program_files_x86 ⇒ Pathname
Get the Program Files (x86) directory path.
Instance Method Details
#app_data ⇒ Pathname
Get the AppData directory path
66 |
# File 'lib/factorix/runtime/windows.rb', line 66 def app_data = Pathname(convert_separator(ENV.fetch("APPDATA"))) |
#local_app_data ⇒ Pathname
Get the Local AppData directory path
71 |
# File 'lib/factorix/runtime/windows.rb', line 71 def local_app_data = Pathname(convert_separator(ENV.fetch("LOCALAPPDATA"))) |
#program_files_x86 ⇒ Pathname
Get the Program Files (x86) directory path
61 |
# File 'lib/factorix/runtime/windows.rb', line 61 def program_files_x86 = Pathname(convert_separator(ENV.fetch("ProgramFiles(x86)"))) |