no?(statement, color = nil)
Make a question the to user and returns true if the user replies “n” or “no”.
# File lib/bundler/vendor/thor/lib/thor/shell/basic.rb, line 126 def no?(statement, color = nil) !!(ask(statement, color, :add_to_history => false) =~ is?(:no)) end