33件ヒット
[1-33件を表示]
(0.254秒)
検索結果
-
Integer
# succ -> Integer (23121.0) -
self の次の整数を返します。
...self の次の整数を返します。
//emlist[][ruby]{
1.next #=> 2
(-1).next #=> 0
1.succ #=> 2
(-1).succ #=> 0
//}
@see Integer#pred... -
Integer
# next -> Integer (8021.0) -
self の次の整数を返します。
...self の次の整数を返します。
//emlist[][ruby]{
1.next #=> 2
(-1).next #=> 0
1.succ #=> 2
(-1).succ #=> 0
//}
@see Integer#pred... -
Numeric (8014.0)
-
数値を表す抽象クラスです。Integer や Float などの数値クラス は Numeric のサブクラスとして実装されています。
...- o - o
polar | o - - - - - o
pred | - o - - - - -
Numeric Integer Fixnum Bi......----------------------------------------
step | o - - - - - -
succ | - o o - - - -
times | - o -......polar | o - - - o
positive? | o - o o -
pred | - o - - -
prev_float | - - o - -......size | - o - - -
step | o - - - -
succ | - o - - -
times | - o - - -...