Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
yes?(statement, color = nil)
public
Make a question the to user and returns true if the user replies “y” or
“yes”.
# File lib/bundler/vendor/thor/lib/thor/shell/basic.rb, line 119
def yes?(statement, color = nil)
!!(ask(statement, color, :add_to_history => false) =~ is?(:yes))
end