class Thor::Shell::Basic

def yes?(statement, color = nil)


"yes".
Asks the user a question and returns true if the user replies "y" or
def yes?(statement, color = nil)
  !!(ask(statement, color, add_to_history: false) =~ is?(:yes))
end