This method is only available on newer versions. The first available version (v2_6_3) is shown here.
force_on_collision?()
Shows the file collision menu to the user and gets the result.
# File lib/bundler/vendor/thor/lib/thor/actions/create_file.rb, line 99 def force_on_collision? base.shell.file_collision(destination) { render } end