Class: Filedots::Runner
- Inherits:
-
Thor
- Object
- Thor
- Filedots::Runner
- Includes:
- Thor::Actions
- Defined in:
- lib/filedots/runner.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
8 9 10 11 12 13 |
# File 'lib/filedots/runner.rb', line 8 def install return unless load_config @config.links.each do |source, target| link(source, target) end end |
#uninstall ⇒ Object
16 17 18 19 20 21 |
# File 'lib/filedots/runner.rb', line 16 def uninstall return unless load_config @config.links.each do |source, target| unlink(target) end end |