method

compare

ruby latest stable - Class: File

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

compare(from, to, verbose = false)
public

Returns true if and only if the contents of files from and to are identical. If verbose is true, from <=> to is printed.