120件ヒット
[101-120件を表示]
(0.074秒)
モジュール
- FileUtils (36)
- Kernel (48)
-
OpenSSL
:: ASN1 (24) - Process (12)
キーワード
- cmp (12)
-
compare
_ file (12) - daemon (12)
- identical? (12)
- spawn (48)
検索結果
-
FileUtils
. # identical?(file _ a , file _ b) -> bool (3132.0) -
ファイル file_a と file_b の内容が同じなら真を返します。
...ファイル file_a と file_b の内容が同じなら真を返します。
@param file_a ファイル名。
@param file_b ファイル名。
//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//}... -
FileUtils
. # cmp(file _ a , file _ b) -> bool (132.0) -
ファイル file_a と file_b の内容が同じなら真を返します。
...ファイル file_a と file_b の内容が同じなら真を返します。
@param file_a ファイル名。
@param file_b ファイル名。
//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//}...