# File lib/homesick/actions/file_actions.rb, line 6 def mv(source, destination) source = Pathname.new(source) destination = Pathname.new(destination + source.basename) case when destination.exist? && (options[:force] || shell.file_collision(destination) { source }) say_status :conflict, "#{destination} exists", :red FileUtils.mv source, destination unless options[:pretend] else FileUtils.mv source, destination unless options[:pretend] end end