Class: Dots::Command
Instance Method Summary
collapse
#forget_dot_file, #link_dot_files, #persist_dot_file
#copy_to_home_directory, #pull_latest_changes, #update_the_framework
Methods included from Bootstrap
#install_configuration, #install_packages, #install_programs
Methods included from Sanity
#open_textmate, #stop_being_insane!
Instance Method Details
#bootstrap ⇒ Object
47
48
49
|
# File 'lib/ruby/dots/command.rb', line 47
def bootstrap
install_programs and install_bundle and install
end
|
#forget(name) ⇒ Object
42
43
44
|
# File 'lib/ruby/dots/command.rb', line 42
def forget name
forget_dot_file name
end
|
#install ⇒ Object
17
18
19
|
# File 'lib/ruby/dots/command.rb', line 17
def install
copy_to_home_directory and link_dot_files
end
|
#link ⇒ Object
32
33
34
|
# File 'lib/ruby/dots/command.rb', line 32
def link
link_dot_files
end
|
#persist(name) ⇒ Object
37
38
39
|
# File 'lib/ruby/dots/command.rb', line 37
def persist name
persist_dot_file name
end
|
#robify ⇒ Object
53
54
55
|
# File 'lib/ruby/dots/command.rb', line 53
def robify
stop_being_insane! and (open_textmate if options[:edit])
end
|
#update ⇒ Object
22
23
24
|
# File 'lib/ruby/dots/command.rb', line 22
def update
update_the_framework
end
|
#version ⇒ Object
27
28
29
|
# File 'lib/ruby/dots/command.rb', line 27
def version
say dots_version
end
|