210件ヒット
[101-200件を表示]
(0.126秒)
ライブラリ
- ビルトイン (120)
- matrix (48)
- observer (12)
-
rubygems
/ user _ interaction (24) - sync (6)
クラス
- Array (36)
-
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - Matrix (48)
- Method (12)
- String (12)
- Thread (12)
- UnboundMethod (12)
モジュール
- Enumerable (36)
- Observable (12)
-
Sync
_ m (6)
キーワード
- arity (24)
-
column
_ count (12) -
column
_ size (12) -
count
_ observers (12) - priority (12)
-
row
_ count (12) -
row
_ size (12) -
sync
_ ex _ count (6)
検索結果
先頭5件
-
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
count1 = count2 = 0
a = Thread.new do
loop { count1 += 1 }
end
a.priority = -1
b = Thread.new do
loop { count2 += 1 }
end
b.priority = -2
count1 = count2 = 0 # reset
sleep 1 # => 1
count1 # => 13809431
count2 # => 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
//}...