method

file_collision

ruby latest stable - Class: Bundler::Thor::Shell::Basic

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

file_collision(destination)
public

Deals with file collision and returns true if the file should be overwritten and false otherwise. If a block is given, it uses the block response as the content for the diff.

Parameters

destination

the destination file to solve conflicts

block

an optional block that returns the value to be used in diff