3件ヒット
[1-3件を表示]
(0.056秒)
ライブラリ
- ビルトイン (1)
-
rubygems
/ indexer (2)
クラス
-
File
:: Stat (1) -
Gem
:: Indexer (2)
キーワード
-
dest
_ directory (1) - ftype (1)
検索結果
先頭3件
-
Gem
:: Indexer # directory -> String (54610.0) -
インデックスをビルドするための一時的なディレクトリを返します。
インデックスをビルドするための一時的なディレクトリを返します。 -
Gem
:: Indexer # dest _ directory -> String (18610.0) -
インデックスを保存するディレクトリを返します。
インデックスを保存するディレクトリを返します。 -
File
:: Stat # ftype -> String (343.0) -
ファイルのタイプを表す文字列を返します。
ファイルのタイプを表す文字列を返します。
文字列は以下のうちのいずれかです。
"file"
"directory"
"characterSpecial"
"blockSpecial"
"fifo"
"link"
"socket"
"unknown"
//emlist[例][ruby]{
fs = File::Stat.new($0)
p fs.ftype #=> "file"
p File::Stat.new($:[0]).ftype #=> "directory"
//}
1.8 以降では、属性メソッドがシステムでサポートされていない場合 nil...