るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 > >>

Syslog.#ident -> String | nil (21207.0)

最後のopenで与えられた対応する引数を返します。

...最後のopenで与えられた対応する引数を返します。

使用例
require 'syslog'

Syslog.open("syslogtest")
p Syslog.ident #=> "syslogtest"
p Syslog.options #=> 3
p Syslog.facility #=> 8...

CGI::QueryExtension#remote_ident -> String (15217.0)

ENV['REMOTE_IDENT'] を返します。

...ENV['REMOTE_IDENT'] を返します。...

DublinCoreModel#dc_identifier (12200.0)

@todo

...@todo...

DublinCoreModel#dc_identifier= (12200.0)

@todo

...@todo...

DublinCoreModel#dc_identifiers (12200.0)

@todo

...@todo...

絞り込み条件を変える

File.identical?(filename1, filename2) -> bool (12200.0)

FileTest.#identical? と同じです。

...FileTest.#identical? と同じです。

@param filename1 パスを表す文字列か IO オブジェクトを指定します。

@param filename2 パスを表す文字列か IO オブジェクトを指定します。...

FileTest.#identical?(file1, file2) -> bool (12200.0)

file1 と file2 が同じファイルを指している時に真を返します。 そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

...nel.#test(?-, file1, file2)を使ってください。

open("a", "w") {}
p File.identical?("a", "a") #=> true
p File.identical?("a", "./a") #=> true
File.link("a", "b")
p File.identical?("a", "b") #=> true
File.symlink("a", "c")
p File.identical?("a", "c") #=> true...
...open("d", "w") {}
p File.identical?("a", "d") #=> false

@param file1 ファイル名を表す文字列か IO オブジェクトを指定します。

@param file2 ファイル名を表す文字列か IO オブジェクトを指定します。

@raise IOError 指定された IO オブジェ...

Hash#compare_by_identity -> self (12200.0)

ハッシュのキーの一致判定をオブジェクトの同一性で判定するように変更します。

...厳密に
Object#object_idが一致しているかどうかを条件とするようにselfを変更します。

selfが変化する破壊的メソッドです。

@return selfを返します。

//emlist[例][ruby]{
h1 = { "a" => 100, "b" => 200, :c => "c" }
p h1.compare_by_identity? #=> false
p h1...
...["a"] #=> 100

h1.compare_by_identity

p h1.compare_by_identity? #=> true
p h1["a"] #=> nil # この"a"と最初の"a"とは違うオブジェクト
p h1[:c] #=> "c" # 同じ内容のシンボルはすべて同一
//}

@see Hash#compare_by_identity?...

Hash#compare_by_identity? -> bool (12200.0)

ハッシュがキーの一致判定をオブジェクトの同一性を用いて行っているならば真を返します。

...ハッシュがキーの一致判定をオブジェクトの同一性を用いて行っているならば真を返します。

//emlist[例][ruby]{
h1 = {}
p h1.compare_by_identity? #=> false

h1.compare_by_identity

p h1.compare_by_identity? #=> true
//}

@see Hash#compare_by_identity...
<< 1 2 3 > >>