Class: Factorix::Runtime::Windows::WindowsPath

Inherits:
Object
  • Object
show all
Defined in:
lib/factorix/runtime/windows.rb

Overview

Windows-specific path provider

Instance Method Summary collapse

Instance Method Details

#app_dataPathname

Get the AppData directory path

Returns:

  • (Pathname)

    the AppData directory



66
# File 'lib/factorix/runtime/windows.rb', line 66

def app_data = Pathname(convert_separator(ENV.fetch("APPDATA")))

#local_app_dataPathname

Get the Local AppData directory path

Returns:

  • (Pathname)

    the Local AppData directory



71
# File 'lib/factorix/runtime/windows.rb', line 71

def local_app_data = Pathname(convert_separator(ENV.fetch("LOCALAPPDATA")))

#program_files_x86Pathname

Get the Program Files (x86) directory path

Returns:

  • (Pathname)

    the Program Files (x86) directory



61
# File 'lib/factorix/runtime/windows.rb', line 61

def program_files_x86 = Pathname(convert_separator(ENV.fetch("ProgramFiles(x86)")))