るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.026秒)
トップページ > クエリ:FileUtils[x] > クエリ:identical?[x]

別のキーワード

  1. fileutils chdir
  2. fileutils cd
  3. fileutils identical?
  4. fileutils install
  5. fileutils methods

種類

ライブラリ

モジュール

キーワード

検索結果

FileUtils.#identical?(file_a, file_b) -> bool (36118.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
//}...

ruby 1.8.4 feature (90.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...ug]>))
* ((<ruby 1.8.4 feature/Hash [bug]>))
* ((<ruby 1.8.4 feature/test [bug]>))
* ((<ruby 1.8.4 feature/File.identical? [new]>))
* ((<ruby 1.8.4 feature/FileTest.identical? [new]>))
* ((<ruby 1.8.4 feature/File.split [change]>))
* ((<ruby 1.8.4 feature/File.basename [change]>))
* ((...
...* ((<ruby 1.8.4 feature/Iconv [compat]>))
* ((<ruby 1.8.4 feature/cgi [bug]>))
* ((<ruby 1.8.4 feature/DL [bug]>))
* ((<ruby 1.8.4 feature/fileutils [bug]>))
* ((<ruby 1.8.4 feature/extmk, mkmf [compat]>))
* ((<ruby 1.8.4 feature/mkmf: find_executable() [compat]>))
* ((<ruby 1.8.4 feature...
...ないシステム(Windows等)でtest(?-, ...)が常にtrueを返し
ていたバグを修正。((<ruby-core:06672>))

: File.identical? [new]
: FileTest.identical? [new]

test(?-, ...) の代替メソッドとして追加。

: File.split [change]
: File.basename [change]
: File.dirname [ch...

ruby 1.9 feature (36.0)

ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。

...13

: Hash#compare_by_identity
: Hash#compare_by_identity?
: Hash#identical
: Hash#identical?

=== 2006-09-12

: Hash#compare_by_identity
: Hash#compare_by_identity?

=== 2006-09-11

: Hash#identical
: Hash#identical?

=== 2006-08-31

: Array#shuffle
: Array#shuffle!

追加

=== 2006-07-26

: __s...
...-22

: accept

((<ruby-core:7917>))

=== 2006-03-21

: MatchData#[] [compat]

名前による参照
((<ruby-dev:28446>))

=== 2006-03-03

: FileUtils.cp_r [lib] [compat]

remove_destination オプションの追加
((<ruby-dev:28417>))

=== 2006-02-15

: instance_eval

((<ruby-core:7365>...
...<ruby-dev:25381>))

: FileUtils.copy_stream(src, dst) [lib] [compat]

src として ARGF も受け付けるようになりました。
((<ruby-dev:25369>))

=== 2004-12-26

: Net::IMAP::PlainAuthenticator [lib] [new]

=== 2004-12-14

: FileUtils.chown [lib] [new]
: FileUtils.chown_R [lib] [new]...