Class: KubsCLI::Configuration
- Inherits:
-
Object
- Object
- KubsCLI::Configuration
- Defined in:
- lib/kubs_cli/configuration.rb
Overview
Used for keeping a consistent config across the entire project
Instance Attribute Summary collapse
-
#config_files ⇒ Object
remote files to be used.
-
#dependencies ⇒ Object
Dependencies to install.
-
#dotfiles ⇒ Object
remote files to be used.
-
#gnome_terminal_settings ⇒ Object
remote files to be used.
-
#local_dir ⇒ Object
local files.
-
#packages ⇒ Object
Returns the value of attribute packages.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/kubs_cli/configuration.rb', line 16 def initialize # Values for items to be copied to @local_dir = Dir.home # values for items to be copied from # set to nil so that someone must set a path @config_files = nil @dotfiles = nil @packages = nil @gnome_terminal_settings = nil @dependencies = nil end |
Instance Attribute Details
#config_files ⇒ Object
remote files to be used
14 15 16 |
# File 'lib/kubs_cli/configuration.rb', line 14 def config_files @config_files end |
#dependencies ⇒ Object
Dependencies to install
10 11 12 |
# File 'lib/kubs_cli/configuration.rb', line 10 def dependencies @dependencies end |
#dotfiles ⇒ Object
remote files to be used
14 15 16 |
# File 'lib/kubs_cli/configuration.rb', line 14 def dotfiles @dotfiles end |
#gnome_terminal_settings ⇒ Object
remote files to be used
14 15 16 |
# File 'lib/kubs_cli/configuration.rb', line 14 def gnome_terminal_settings @gnome_terminal_settings end |
#local_dir ⇒ Object
local files
7 8 9 |
# File 'lib/kubs_cli/configuration.rb', line 7 def local_dir @local_dir end |
#packages ⇒ Object
Returns the value of attribute packages.
11 12 13 |
# File 'lib/kubs_cli/configuration.rb', line 11 def packages @packages end |