Method: Effuse#execute
- Defined in:
- lib/effuse.rb
#execute ⇒ Object
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/effuse.rb', line 199 def execute if File.identical? @dest_dir, '.' puts 'error: destination directory is current directory' exit 1 end if @clean clean(scan) else symlink(scan) end end |