method

identical?

identical?(source, destination, &block)
public

Checks if the source and the destination file are identical. If passed a block then the source file is a template that needs to first be evaluated before being compared to the destination.