Class: Homer

Inherits:
Object
  • Object
show all
Defined in:
lib/homer.rb

Class Method Summary collapse

Class Method Details

.add(dotfile) ⇒ Object



16
17
18
19
# File 'lib/homer.rb', line 16

def add(dotfile)
  FileLayer.prepare_homer_folder
  SymLink.add(dotfile)
end

.initObject



8
9
10
# File 'lib/homer.rb', line 8

def init
  FileLayer.prepare_homer_folder
end

.listObject



21
22
23
# File 'lib/homer.rb', line 21

def list
  SymLink.filenames
end

.wipeObject



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

def wipe
  FileLayer.delete_homer_folder
end