クラス
-
ARGF
. class (22) - Array (108)
- Complex (11)
-
Encoding
:: Converter (22) - Float (86)
- IO (40)
- Integer (33)
- Random (66)
- Range (94)
-
RubyVM
:: InstructionSequence (11) - String (11)
-
Thread
:: SizedQueue (54)
モジュール
- Comparable (24)
- Enumerable (132)
- Kernel (66)
- Process (66)
キーワード
- << (9)
- ConditionVariable (9)
- ELIBMAX (11)
- GC (11)
-
MAX
_ 10 _ EXP (11) -
MAX
_ EXP (11) - MIN (11)
-
MIN
_ 10 _ EXP (11) -
MIN
_ EXP (11) -
RLIM
_ SAVED _ MAX (11) - between? (22)
- clamp (13)
- enq (9)
- getrlimit (11)
- max (127)
- max= (9)
-
max
_ by (44) - maxgroups (11)
- maxgroups= (11)
- min (42)
- minmax (42)
-
minmax
_ by (22) - new (9)
-
next
_ float (10) - pread (7)
-
prev
_ float (10) - push (9)
- putback (22)
- rand (88)
-
read
_ nonblock (22) - readpartial (22)
- sample (44)
- setrlimit (22)
- shuffle! (22)
- spawn (44)
- sysread (11)
-
to
_ a (11) -
to
_ f (11) - upto (33)
検索結果
先頭5件
-
Float
:: MAX _ 10 _ EXP -> Integer (6103.0) -
最大の 10 進の指数です。
最大の 10 進の指数です。
通常はデフォルトで 308 です。
@see Float::MIN_10_EXP -
Float
:: MAX _ EXP -> Integer (6103.0) -
最大の Float::RADIX 進の指数です。
最大の Float::RADIX 進の指数です。
通常はデフォルトで 1024 です。
@see Float::MIN_EXP -
Process
:: RLIM _ SAVED _ MAX -> Integer (6103.0) -
Process.#getrlimit, Process.#setrlimit で使われます。詳しくは setrlimit(2) を参照して下さい。
Process.#getrlimit, Process.#setrlimit で使われます。詳しくは setrlimit(2) を参照して下さい。 -
Array
# minmax -> [object , object] (6102.0) -
自身の各要素のうち最小の要素と最大の要素を 要素とするサイズ 2 の配列を返します。
...同士の比較をブロックを用いて行います。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax #=> ["albatross", "horse"]
a.minmax{|a,b| a.length <=> b.length } #=> ["dog", "albatross"]
[].minmax # => [nil, nil]
//}
@see Enumerable#minmax... -
Array
# minmax {|a , b| . . . } -> [object , object] (6102.0) -
自身の各要素のうち最小の要素と最大の要素を 要素とするサイズ 2 の配列を返します。
...同士の比較をブロックを用いて行います。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax #=> ["albatross", "horse"]
a.minmax{|a,b| a.length <=> b.length } #=> ["dog", "albatross"]
[].minmax # => [nil, nil]
//}
@see Enumerable#minmax... -
Enumerable
# minmax -> [object , object] (6102.0) -
Enumerable オブジェクトの各要素のうち最小の要素と最大の要素を 要素とするサイズ 2 の配列を返します。
...素同士の比較を
ブロックを用いて行います。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax #=> ["albatross", "horse"]
a.minmax{|a,b| a.length <=> b.length } #=> ["dog", "albatross"]
[].minmax # => [nil, nil]
//}
@see Enumerable#sort......較を
ブロックを用いて行います。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax #=> ["albatross", "horse"]
a.minmax{|a,b| a.length <=> b.length } #=> ["dog", "albatross"]
[].minmax # => [nil, nil]
//}
@see Enumerable#sort, Array#minmax... -
Enumerable
# minmax {|a , b| . . . } -> [object , object] (6102.0) -
Enumerable オブジェクトの各要素のうち最小の要素と最大の要素を 要素とするサイズ 2 の配列を返します。
...素同士の比較を
ブロックを用いて行います。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax #=> ["albatross", "horse"]
a.minmax{|a,b| a.length <=> b.length } #=> ["dog", "albatross"]
[].minmax # => [nil, nil]
//}
@see Enumerable#sort......較を
ブロックを用いて行います。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax #=> ["albatross", "horse"]
a.minmax{|a,b| a.length <=> b.length } #=> ["dog", "albatross"]
[].minmax # => [nil, nil]
//}
@see Enumerable#sort, Array#minmax... -
Enumerable
# minmax _ by -> Enumerator (6102.0) -
Enumerable オブジェクトの各要素をブロックに渡して評価し、その結果を <=> で比較して 最小の要素と最大の要素を要素とするサイズ 2 の配列を返します。
...。
Enumerable#minmax と Enumerable#minmax_by の
違いは sort と sort_by の違いと同じです。
詳細は Enumerable#sort_by を参照してください。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax_by {|x| x.length } #=> ["dog", "albatross"]
[].minmax_by{} # => [nil, n... -
Enumerable
# minmax _ by {|obj| . . . } -> [object , object] (6102.0) -
Enumerable オブジェクトの各要素をブロックに渡して評価し、その結果を <=> で比較して 最小の要素と最大の要素を要素とするサイズ 2 の配列を返します。
...。
Enumerable#minmax と Enumerable#minmax_by の
違いは sort と sort_by の違いと同じです。
詳細は Enumerable#sort_by を参照してください。
//emlist[例][ruby]{
a = %w(albatross dog horse)
a.minmax_by {|x| x.length } #=> ["dog", "albatross"]
[].minmax_by{} # => [nil, n... -
Process
. # maxgroups -> Integer (6102.0) -
設定できる補助グループ ID の数を指定します。
設定できる補助グループ ID の数を指定します。
実際に返される補助グループ ID の数よりも少ない値を設定していると、
Process.#groups で例外が発生します。
@param num 整数を指定します。
@raise NotImplementedError メソッドが現在のプラットフォームで実装されていない場合に発生します。 -
Process
. # maxgroups=(num) (6102.0) -
設定できる補助グループ ID の数を指定します。
設定できる補助グループ ID の数を指定します。
実際に返される補助グループ ID の数よりも少ない値を設定していると、
Process.#groups で例外が発生します。
@param num 整数を指定します。
@raise NotImplementedError メソッドが現在のプラットフォームで実装されていない場合に発生します。