class Bundler::Thor::Actions::CreateFile

def identical?


Boolean:: true if it is identical, false otherwise.
==== Returns

Checks if the content of the file at the destination is identical to the rendered result.
def identical?
  exists? && File.binread(destination) == render
end