D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
FileUtils
/
Filename :
compare_file-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: identical? - !ruby/object:RI::AliasName name: cmp block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the contents of a file A and a file B are identical. - !ruby/struct:SM::Flow::VERB body: " FileUtils.compare_file('somefile', 'somefile') #=> true\n FileUtils.compare_file('/bin/cp', '/bin/mv') #=> maybe false\n" full_name: FileUtils#compare_file is_singleton: false name: compare_file params: (a, b) visibility: public