216件ヒット
[1-100件を表示]
(0.163秒)
種類
- モジュール関数 (99)
- インスタンスメソッド (73)
- 特異メソッド (44)
ライブラリ
- ビルトイン (44)
- fileutils (11)
-
ripper
/ lexer (11) -
ripper
/ sexp (22) - rss (33)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - syslog (77)
クラス
- File (11)
- Hash (22)
- Ripper (33)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
- DublinCoreModel (33)
- FileTest (11)
- FileUtils (11)
- Syslog (77)
キーワード
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) -
dc
_ identifier (11) -
dc
_ identifier= (11) -
dc
_ identifiers (11) - facility (11)
- identical? (51)
- lex (11)
- open (22)
- open! (11)
- reopen (11)
- sexp (11)
-
sexp
_ raw (11)
検索結果
先頭5件
-
Syslog
. # ident -> String | nil (24307.0) -
最後のopenで与えられた対応する引数を返します。
...最後のopenで与えられた対応する引数を返します。
使用例
require 'syslog'
Syslog.open("syslogtest")
p Syslog.ident #=> "syslogtest"
p Syslog.options #=> 3
p Syslog.facility #=> 8... -
File
. identical?(filename1 , filename2) -> bool (18300.0) -
FileTest.#identical? と同じです。
...FileTest.#identical? と同じです。
@param filename1 パスを表す文字列か IO オブジェクトを指定します。
@param filename2 パスを表す文字列か IO オブジェクトを指定します。... -
FileTest
. # identical?(file1 , file2) -> bool (18300.0) -
file1 と file2 が同じファイルを指している時に真を返します。 そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...file1 と file2 が同じファイルを指している時に真を返します。
そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ruby 1.8.3 以前ではKernel.#test(?-, file1, file2)を使......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 オブジェクト file1, file2 が既に close されていた場合に発生します。... -
FileUtils
. # identical?(file _ a , file _ b) -> bool (18300.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
//}... -
Shell
# identical? (18300.0) -
@todo
@todo -
Shell
:: CommandProcessor # identical? (18300.0) -
@todo
@todo -
Shell
:: Filter # identical? (18300.0) -
@todo
@todo -
DublinCoreModel
# dc _ identifier (15200.0) -
@todo
@todo -
DublinCoreModel
# dc _ identifier= (15200.0) -
@todo
@todo -
DublinCoreModel
# dc _ identifiers (15200.0) -
@todo
@todo -
Syslog
. # facility -> Integer | nil (12307.0) -
最後のopenで与えられた対応する引数を返します。
...最後のopenで与えられた対応する引数を返します。
使用例
require 'syslog'
Syslog.open("syslogtest")
p Syslog.ident #=> "syslogtest"
p Syslog.options #=> 3
p Syslog.facility #=> 8...