Class: Homer
- Inherits:
-
Object
- Object
- Homer
- Defined in:
- lib/homer.rb
Class Method Summary collapse
Class Method Details
.add(dotfile) ⇒ Object
17 18 19 20 |
# File 'lib/homer.rb', line 17 def add(dotfile) FileLayer.prepare_homer_folder SymLink.add(dotfile) end |
.init ⇒ Object
9 10 11 |
# File 'lib/homer.rb', line 9 def init FileLayer.prepare_homer_folder end |
.push ⇒ Object
26 27 28 29 |
# File 'lib/homer.rb', line 26 def push dotfiles_dir = FileLayer.dotfiles_directory_path GitHubLayer.push(dotfiles_dir) end |
.wipe ⇒ Object
13 14 15 |
# File 'lib/homer.rb', line 13 def wipe FileLayer.delete_homer_folder end |