Module: Uberinstaller::Config

Defined in:
lib/uberinstaller/config.rb

Overview

Shared configuration for Uberinstaller

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.app_nameObject (readonly)

Returns the value of attribute app_name.



12
13
14
# File 'lib/uberinstaller/config.rb', line 12

def app_name
  @app_name
end

.app_versionObject (readonly)

Returns the value of attribute app_version.



12
13
14
# File 'lib/uberinstaller/config.rb', line 12

def app_version
  @app_version
end

.dry_runObject

Returns the value of attribute dry_run.



10
11
12
# File 'lib/uberinstaller/config.rb', line 10

def dry_run
  @dry_run
end

.local_package_managerObject

Returns the value of attribute local_package_manager.



10
11
12
# File 'lib/uberinstaller/config.rb', line 10

def local_package_manager
  @local_package_manager
end

.remote_package_managerObject

Returns the value of attribute remote_package_manager.



10
11
12
# File 'lib/uberinstaller/config.rb', line 10

def remote_package_manager
  @remote_package_manager
end

.uberdirectoryObject

Returns the value of attribute uberdirectory.



10
11
12
# File 'lib/uberinstaller/config.rb', line 10

def uberdirectory
  @uberdirectory
end

Class Method Details

.command_pathObject



14
15
16
# File 'lib/uberinstaller/config.rb', line 14

def command_path
  @command_path ||= File.join @uberdirectory, 'cmds'
end

.json_pathObject



20
21
22
# File 'lib/uberinstaller/config.rb', line 20

def json_path
  @json_path ||= File.join @uberdirectory, 'json'
end

.local_pkg_pathObject



17
18
19
# File 'lib/uberinstaller/config.rb', line 17

def local_pkg_path
  @local_pkg_path ||= File.join @uberdirectory, 'pkgs' 
end