別のキーワード
種類
- モジュール関数 (108)
- インスタンスメソッド (90)
- 特異メソッド (72)
- 関数 (12)
- ライブラリ (12)
ライブラリ
- ビルトイン (48)
-
cgi
/ core (12) - fileutils (12)
- json (12)
- matrix (12)
-
ripper
/ lexer (12) -
ripper
/ sexp (24) - rss (36)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - syslog (84)
クラス
- File (12)
- Hash (24)
- Matrix (12)
- Ripper (36)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
-
CGI
:: QueryExtension (12) - DublinCoreModel (36)
- FileTest (12)
- FileUtils (12)
- JSON (12)
- Syslog (84)
キーワード
- cgi (12)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) -
create
_ id= (12) -
dc
_ identifier (12) -
dc
_ identifier= (12) -
dc
_ identifiers (12) - facility (12)
-
heredoc
_ identifier (12) - identical? (54)
- identity (12)
- lex (12)
- open (24)
- open! (12)
-
remote
_ ident (12) - reopen (12)
- sexp (12)
-
sexp
_ raw (12)
検索結果
先頭5件
-
Syslog
. # ident -> String | nil (15107.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 (6117.0) -
ENV['REMOTE_IDENT'] を返します。
...ENV['REMOTE_IDENT'] を返します。... -
DublinCoreModel
# dc _ identifier (6100.0) -
@todo
@todo -
DublinCoreModel
# dc _ identifier= (6100.0) -
@todo
@todo -
DublinCoreModel
# dc _ identifiers (6100.0) -
@todo
@todo -
File
. identical?(filename1 , filename2) -> bool (6100.0) -
FileTest.#identical? と同じです。
...FileTest.#identical? と同じです。
@param filename1 パスを表す文字列か IO オブジェクトを指定します。
@param filename2 パスを表す文字列か IO オブジェクトを指定します。... -
FileTest
. # identical?(file1 , file2) -> bool (6100.0) -
file1 と file2 が同じファイルを指している時に真を返します。 そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...pen("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") #=> f... -
Hash
# compare _ by _ identity -> self (6100.0) -
ハッシュのキーの一致判定をオブジェクトの同一性で判定するように変更します。
..._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 (6100.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...