C
Cheyne Li
Hi, there
My problem is to compare two files in the same directory as the program
does.
the code is:
require 'ftools'
def fcmp
from = 'my_log.txt'
to = 'my_log_e.txt'
if compare(from,to, verbose = false) then
puts 'Identical.'
else
puts 'Different.'
end
end
After running the function. There's no result as all. Is there anybody
has the idea what's wrong with it?
My problem is to compare two files in the same directory as the program
does.
the code is:
require 'ftools'
def fcmp
from = 'my_log.txt'
to = 'my_log_e.txt'
if compare(from,to, verbose = false) then
puts 'Identical.'
else
puts 'Different.'
end
end
After running the function. There's no result as all. Is there anybody
has the idea what's wrong with it?