るりまサーチ

最速Rubyリファレンスマニュアル検索!
40件ヒット [1-40件を表示] (0.109秒)

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l

検索結果

File::Stat#size? -> Integer | nil (21214.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
//...

Pathname#size? -> bool (18202.0)

FileTest.size?(self.to_s) と同じです。

...FileTest.size?(self.to_s) と同じです。


@see FileTest.#size?...

Shell#size?(file) -> Integer | nil (18201.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#size FileTest.#size?...

Shell::CommandProcessor#size?(file) -> Integer | nil (18201.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#size FileTest.#size?...

Shell::Filter#size?(file) -> Integer | nil (18201.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#size FileTest.#size?...

絞り込み条件を変える