別のキーワード
種類
- モジュール関数 (99)
- インスタンスメソッド (84)
- 特異メソッド (66)
- 関数 (11)
- ライブラリ (11)
ライブラリ
- ビルトイン (44)
-
cgi
/ core (11) - fileutils (11)
- json (11)
- matrix (11)
-
ripper
/ lexer (11) -
ripper
/ sexp (22) - rss (33)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - syslog (77)
クラス
- File (11)
- Hash (22)
- Matrix (11)
- Ripper (33)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
-
CGI
:: QueryExtension (11) - DublinCoreModel (33)
- FileTest (11)
- FileUtils (11)
- JSON (11)
- Syslog (77)
キーワード
- cgi (11)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) -
create
_ id= (11) -
dc
_ identifier (11) -
dc
_ identifier= (11) -
dc
_ identifiers (11) - facility (11)
-
heredoc
_ identifier (11) - identical? (51)
- identity (11)
- lex (11)
- open (22)
- open! (11)
-
remote
_ ident (11) - reopen (11)
- sexp (11)
-
sexp
_ raw (11)
検索結果
先頭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... -
Shell
# identical? (6100.0) -
@todo
@todo