1821件ヒット
[1801-1821件を表示]
(0.023秒)
クラス
- Array (591)
- Complex (11)
- Data (4)
- Enumerator (11)
- File (16)
- Float (19)
- Integer (36)
- Module (66)
- Object (22)
- Range (194)
- Rational (55)
- Regexp (11)
- String (11)
- SystemCallError (33)
- UnboundMethod (11)
モジュール
- Enumerable (132)
- Kernel (161)
- Marshal (66)
- Math (297)
- ObjectSpace (11)
キーワード
-
$ @ (11) -
$ SAFE (7) -
$ ~ (11) - & (11)
- * (22)
- ** (11)
- + (11)
- - (11)
- < (11)
- <= (11)
- =~ (22)
- > (11)
- >= (11)
- ArgumentError (11)
- Array (11)
- Float (11)
- Hash (11)
- Integer (22)
-
MAJOR
_ VERSION (11) -
MINOR
_ VERSION (11) - String (11)
- [] (33)
- []= (33)
-
absolute
_ path? (5) - acos (11)
- acosh (11)
- asin (11)
- asinh (11)
- at (11)
- atan (11)
- atan2 (11)
- atanh (11)
- begin (11)
- bind (11)
- bsearch (44)
- cbrt (11)
- ceil (11)
- coerce (11)
- combination (22)
- cos (11)
- cosh (11)
-
count
_ objects (11) - cycle (22)
- define (4)
-
define
_ method (44) -
delete
_ at (11) - dig (9)
- dump (22)
- dup (3)
- each (22)
- end (11)
- erf (11)
- erfc (11)
- exp (11)
- fail (33)
- feed (11)
- fetch (33)
- first (44)
- flatten (11)
- flatten! (11)
- floor (11)
- freeze (5)
- frexp (11)
- gamma (11)
- hypot (11)
-
initialize
_ copy (11) - insert (11)
- intersection (5)
- join (22)
- last (44)
- ldexp (11)
- lgamma (11)
- load (11)
- log (22)
- log10 (11)
- log2 (11)
- max (86)
- min (86)
- new (33)
- permutation (22)
- pop (22)
- pow (22)
- putc (11)
- raise (33)
-
repeated
_ combination (22) -
repeated
_ permutation (22) - replace (11)
- restore (11)
- rotate (11)
- rotate! (11)
- round (30)
- sample (44)
- shift (22)
- sin (11)
-
singleton
_ class (11) - sinh (11)
- sort (22)
- sqrt (11)
- sum (38)
- tan (11)
- tanh (11)
-
to
_ i (11) - transpose (11)
- truncate (11)
-
try
_ convert (3) - zip (22)
- | (11)
検索結果
-
Range
# min(n) -> [object] (3.0) -
範囲内の最小の値、もしくは最小の n 要素が昇順で入った配列を返します。
範囲内の最小の値、もしくは最小の n 要素が昇順で入った配列を返します。
@param n 取得する要素数。
//emlist[例][ruby]{
(1..5).min # => 1
//}
//emlist[例][ruby]{
(1..5).min(3) # => [1, 2, 3]
//}
始端が終端より大きい場合、もしくは、終端を含まない範囲オブジェクトの始端が終端と
等しい場合は、引数を指定しない形式では nil を返します。
引数を指定する形式では、空の配列を返します。
//emlist[例][ruby]{
(2..1).min # => nil
(1...1... -
SystemCallError
. new(error _ message) -> SystemCallError (3.0) -
SystemCallError オブジェクトを生成して返します。
SystemCallError オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列
例:
p SystemCallError.new("message")
# => #<SystemCallError: unknown error - message>