るりまサーチ

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

別のキーワード

  1. socket int
  2. prime int_from_prime_division
  3. _builtin to_int
  4. mkmf convertible_int
  5. option int

ライブラリ

モジュール

キーワード

検索結果

<< < 1 2 3 > >>

Gem::StreamUI::VerboseProgressReporter#count -> Integer (18202.0)

Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。

Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。

Matrix#column_count -> Integer (6202.0)

行列の列数を返します。

行列の列数を返します。

Matrix#row_count -> Integer (6202.0)

行列の行数を返します。

行列の行数を返します。

Observable#count_observers -> Integer (6202.0)

登録されているオブザーバの数を返します。

登録されているオブザーバの数を返します。

Sync_m#sync_ex_count -> Integer (6202.0)

@todo

@todo

絞り込み条件を変える

Matrix#column_size -> Integer (3102.0)

行列の列数を返します。

行列の列数を返します。

Matrix#row_size -> Integer (3102.0)

行列の行数を返します。

行列の行数を返します。

Thread#priority -> Integer (149.0)

スレッドの優先度を返します。この値が大きいほど優先度が高くなります。 メインスレッドのデフォルト値は 0 です。新しく生成されたスレッドは親スレッドの priority を引き継ぎます。

...][ruby]{
Thread.current.priority # => 0

count
1 = count2 = 0
a = Thread.new do
loop { count1 += 1 }
end
a.priority = -1

b = Thread.new do
loop { count2 += 1 }
end
b.priority = -2
count
1 = count2 = 0 # reset
sleep 1 # => 1
count
1 # => 13809431
count
2 # => 11571921
//}...

Method#arity -> Integer (107.0)

メソッドが受け付ける引数の数を返します。

...od(:v).arity #=> 1
p c.method(:w).arity #=> -1
p c.method(:x).arity #=> 2
p c.method(:y).arity #=> -3
p c.method(:z).arity #=> -3

s = "xyz"
s.method(:size).arity #=> 0
s.method(:replace).arity #=> 1
s.method(:squeeze).arity #=> -1
s.method(:count).arity #=> -1
//}...

UnboundMethod#arity -> Integer (107.0)

メソッドが受け付ける引数の数を返します。

...).arity #=> 2
p C.instance_method(:five).arity #=> -3
p C.instance_method(:six).arity #=> -3


String.instance_method(:size).arity #=> 0
String.instance_method(:replace).arity #=> 1
String.instance_method(:squeeze).arity #=> -1
String.instance_method(:count).arity #=> -1
//}...

絞り込み条件を変える

<< < 1 2 3 > >>