るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

クラス

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

Pathname#size -> Integer (18223.0)

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

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


@see FileTest.#size...

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

self の要素数を返します。

...いた場合はその
実行結果を返します。呼び出した時に要素数が不明であった場合は nil を返し
ます。

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

@see Enumerator.new...

Range#size -> Integer | Float::INFINITY | nil (18219.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 (18217.0)

FileTest.#size と同じです。

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

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

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

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

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

絞り込み条件を変える

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bignum#size -> Fixnum (18213.0)

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

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

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

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

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

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

...しない場合、あるいはシステムコールに失敗した場合に発生します。

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

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

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

絞り込み条件を変える

Fixnum#size -> Fixnum (18213.0)

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

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

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

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

Integer#size -> Integer (18213.0)

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

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

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

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