# File lib/webby/apps/generator.rb, line 260 def force_file_collision?( dst ) dst = dst.sub(%r/#{site}\/?/, '') print "overwrite #{dst}? [(Y)es (n)o (q)uit] " case gets when %r/q/i then abort 'user asked to quit' when %r/n/i then :skip when %r/y/i then :force when %r/\s*/ then :force else force_file_collision?(dst) end rescue retry end