Module: Uberinstaller::Config
- Defined in:
- lib/uberinstaller/config.rb
Overview
Shared configuration for Uberinstaller
Class Attribute Summary collapse
-
.app_name ⇒ Object
readonly
Returns the value of attribute app_name.
-
.app_version ⇒ Object
readonly
Returns the value of attribute app_version.
-
.dry_run ⇒ Object
Returns the value of attribute dry_run.
-
.local_package_manager ⇒ Object
Returns the value of attribute local_package_manager.
-
.remote_package_manager ⇒ Object
Returns the value of attribute remote_package_manager.
-
.uberdirectory ⇒ Object
Returns the value of attribute uberdirectory.
Class Method Summary collapse
Class Attribute Details
.app_name ⇒ Object (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_version ⇒ Object (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_run ⇒ Object
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_manager ⇒ Object
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_manager ⇒ Object
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 |
.uberdirectory ⇒ Object
Returns the value of attribute uberdirectory.
10 11 12 |
# File 'lib/uberinstaller/config.rb', line 10 def uberdirectory @uberdirectory end |
Class Method Details
.command_path ⇒ Object
14 15 16 |
# File 'lib/uberinstaller/config.rb', line 14 def command_path @command_path ||= File.join @uberdirectory, 'cmds' end |
.json_path ⇒ Object
20 21 22 |
# File 'lib/uberinstaller/config.rb', line 20 def json_path @json_path ||= File.join @uberdirectory, 'json' end |
.local_pkg_path ⇒ Object
17 18 19 |
# File 'lib/uberinstaller/config.rb', line 17 def local_pkg_path @local_pkg_path ||= File.join @uberdirectory, 'pkgs' end |