class Thor::Actions::CreateLink
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? source = File.expand_path(render, File.dirname(destination)) exists? && File.identical?(source, destination) end