93件ヒット
[1-93件を表示]
(0.085秒)
種類
- インスタンスメソッド (60)
- クラス (11)
- 特異メソッド (11)
- モジュール関数 (11)
ライブラリ
- ビルトイン (44)
-
net
/ ftp (9) - pathname (11)
-
rubygems
/ package / tar _ reader / entry (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
- File (11)
-
File
:: Stat (11) -
Gem
:: Package :: TarReader :: Entry (11) -
Net
:: FTP :: MLSxEntry (9) - Pathname (11)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
- FileTest (11)
検索結果
先頭5件
-
File
:: Stat # directory? -> bool (18207.0) -
ディレクトリの時に真を返します。
...ディレクトリの時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).directory? #=> false
//}
@see FileTest.#directory?... -
Gem
:: Package :: TarReader :: Entry # directory? -> bool (18201.0) -
自身がディレクトリであれば、真を返します。 そうでない場合は、偽を返します。
自身がディレクトリであれば、真を返します。
そうでない場合は、偽を返します。 -
Net
:: FTP :: MLSxEntry # directory? -> bool (18201.0) -
エントリがディレクトリであれば true を返します。
エントリがディレクトリであれば true を返します。
Net::FTP::MLSxEntry#type が "dir"、 "pdir"、 "cdir"、
のいずれかであれば true を返します。 -
Pathname
# directory? -> bool (18201.0) -
FileTest.directory?(self.to_s) と同じです。
...FileTest.directory?(self.to_s) と同じです。
@see FileTest.#directory?... -
File
. directory?(path) -> bool (18200.0) -
FileTest.#directory? と同じです。
...FileTest.#directory? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
FileTest
. # directory?(file) -> bool (18200.0) -
ファイルがディレクトリの時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...ブジェクト file が既に close されていた場合に発生します。
例:
FileTest.directory?('/etc') # => true
FileTest.directory?('/etc/passwd') # => false
f = File.open('/etc')
FileTest.directory?(f) # => true
f.close
FileTest.directory?(f) # => IOError: closed stream... -
Shell
# directory?(file) -> bool (18200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: CommandProcessor # directory?(file) -> bool (18200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: Filter # directory?(file) -> bool (18200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
File
:: Stat (18.0) -
ファイルの情報を格納したオブジェクトのクラス。
...を引数に取るかわりに Stat 自身について判定する点が違います。
//emlist[][ruby]{
p File::Stat.new($0).directory? #=> false
p FileTest.directory?($0) #=> false
//}
1.8 以降では、属性メソッドがシステムでサポートされていない場合 nil が返りま......dev デバイス番号(ファイルシステム)
dev_major dev の major 番号部
dev_minor dev の minor 番号部
ino i-node 番号
mode ファイルモード
nlink ハードリンクの数
uid オーナーのユーザID
gid オー......I/Oのブロックサイズ
blocks 割り当てられているブロック数
atime 最終アクセス時刻
mtime 最終更新時刻
ctime 最終状態変更時刻(状態の変更とは chmod などによるもので、Unix では i-node の変更を意味します)...