69件ヒット
[1-69件を表示]
(0.025秒)
ライブラリ
- ビルトイン (11)
- pathname (22)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12)
クラス
-
File
:: Stat (11) - Pathname (22)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12)
検索結果
先頭5件
-
Pathname
# size -> Integer (18146.0) -
FileTest.size(self.to_s) と同じです。
...FileTest.size(self.to_s) と同じです。
@see FileTest.#size... -
Shell
# size(file) -> Integer (18143.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size?... -
Shell
:: CommandProcessor # size(file) -> Integer (18143.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size?... -
Shell
:: Filter # size(file) -> Integer (18143.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size?... -
Pathname
# size? -> bool (6146.0) -
FileTest.size?(self.to_s) と同じです。
...FileTest.size?(self.to_s) と同じです。
@see FileTest.#size?... -
Shell
# size?(file) -> Integer | nil (6143.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size?... -
Shell
:: CommandProcessor # size?(file) -> Integer | nil (6143.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size?... -
Shell
:: Filter # size?(file) -> Integer | nil (6143.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size?... -
File
:: Stat # size? -> Integer | nil (6126.0) -
サイズが0の時にはnil、それ以外の場合はファイルサイズを返します。
...はnil、それ以外の場合はファイルサイズを返します。
//emlist[][ruby]{
require 'tempfile'
fp = Tempfile.new("temp")
p fp.size #=> 0
p File::Stat.new(fp.path).size? #=> nil
fp.print "not 0 "
fp.close
p FileTest.exist?(fp.path) #=> true
p File::Stat.new(fp.path).size? #=> 6
//}...