るりまサーチ

最速Rubyリファレンスマニュアル検索!
5274件ヒット [1-100件を表示] (0.152秒)
トップページ > クエリ:i[x] > クエリ:-[x] > クエリ:size[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

クラス

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

Pathname#size -> Integer (24323.0)

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

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


@see FileTest.#size...

Enumerator#size -> Integer | Float::INFINITY | nil (24319.0)

self の要素数を返します。

...:INFINITY を返します。
Enumerator.new に Proc オブジェクトを指定していた場合はその
実行結果を返します。呼び出した時に要素数が不明であった場合は nil を返し
ます。

//emlist[例][ruby]{
(1..100).to_a.permutation(4).size # => 94109400
loop.si...
...ze # => Float::INFINITY
(1..100).drop_while.size # => nil
//}

@see Enumerator.new...

Range#size -> Integer | Float::INFINITY | nil (24319.0)

範囲内の要素数を返します。始端、終端のいずれかのオブジェクトが Numeric のサブクラスのオブジェクトではない場合には nil を返します。

...を返します。始端、終端のいずれかのオブジェクトが
Numeric のサブクラスのオブジェクトではない場合には nil を返します。

//emlist[例][ruby]{
(10..20).size # => 11
("a".."z").size # => nil
(-Float::INFINITY..Float::INFINITY).size # => Infinity
//}...

File.size(path) -> Integer (24317.0)

FileTest.#size と同じです。

...FileTest.#size と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

Gem::Package::TarHeader#size -> Integer (24317.0)

tar のヘッダに含まれる size を返します。

...tar のヘッダに含まれる size を返します。...

絞り込み条件を変える

Shell#size(file) -> Integer (24314.0)

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

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

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

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

Shell::CommandProcessor#size(file) -> Integer (24314.0)

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

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

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

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

Shell::Filter#size(file) -> Integer (24314.0)

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

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

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

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

Bignum#size -> Fixnum (24313.0)

整数の実装上のサイズをバイト数で返します。

...整数の実装上のサイズをバイト数で返します。

現在の実装では Fixnum は、sizeof(long) 固定(多くの 32
bit マシンで 4 バイト)、Bignumは、システム依存です。

p 1.size
p 0x1_0000_0000.size
# => 4
8...

FileTest.#size(file) -> Integer (24313.0)

ファイルのサイズを返します。

...す。

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@raise Errno::EXXX file が存在しない場合、あるいはシステムコールに失敗した場合に発生します。

@raise IOError 指定された IO オブジェクト file が既に clo...
...se されていた場合に発生します。

@see FileTest.#size?, FileTest.#zero?

例:
FileTest.size('/etc/passwd') # => 5925...

絞り込み条件を変える

Fixnum#size -> Fixnum (24313.0)

整数の実装上のサイズをバイト数で返します。

...整数の実装上のサイズをバイト数で返します。

現在の実装では Fixnum は、sizeof(long) 固定(多くの 32
bit マシンで 4 バイト)、Bignumは、システム依存です。

p 1.size
p 0x1_0000_0000.size
# => 4
8...

Integer#size -> Integer (24313.0)

整数の実装上のサイズをバイト数で返します。

...整数の実装上のサイズをバイト数で返します。

//emlist[][ruby]{
p 1.size # => 8
p 0x1_0000_0000.size # => 8
//}

@see Integer#bit_length...
<< 1 2 3 ... > >>