Class: Flexdot::Installer
- Inherits:
-
Object
- Object
- Flexdot::Installer
- Defined in:
- lib/flexdot/installer.rb
Instance Method Summary collapse
-
#initialize(name, dotfiles_dir:, home_dir:) ⇒ Installer
constructor
A new instance of Installer.
- #install(index_file) ⇒ Object
Constructor Details
#initialize(name, dotfiles_dir:, home_dir:) ⇒ Installer
Returns a new instance of Installer.
11 12 13 14 15 16 17 |
# File 'lib/flexdot/installer.rb', line 11 def initialize(name, dotfiles_dir:, home_dir:) @name = name @dotfiles_dir = dotfiles_dir @home_dir = home_dir @backup = Backup.new @console = Console.new(@home_dir) end |