lib/capistrano-db-tasks/util.rb in capistrano-db-tasks-0.4 vs lib/capistrano-db-tasks/util.rb in capistrano-db-tasks-0.5

- old
+ new

@@ -1,6 +1,6 @@ module Util def self.prompt(msg, prompt = "(y)es, (n)o ") ask(:answer, "#{msg} #{prompt} ? ") - (fetch(:answer) =~ /^y$|^yes$/i) == 0 + (fetch(:answer) =~ /^y$|^yes$/i).zero? end end