種類
- インスタンスメソッド (72)
- クラス (36)
- 特異メソッド (12)
ライブラリ
- ビルトイン (48)
-
net
/ http (12) -
rubygems
/ dependency _ list (12) -
win32
/ registry (48)
クラス
-
Gem
:: DependencyList (12) - Integer (36)
-
Win32
:: Registry :: PredefinedKey (36)
キーワード
- HTTPRedirection (12)
- Numeric (12)
- PredefinedKey (12)
- class (12)
- close (12)
- new (12)
- next (12)
-
spec
_ predecessors (12) - succ (12)
検索結果
-
Integer
# succ -> Integer (6.0) -
self の次の整数を返します。
...self の次の整数を返します。
//emlist[][ruby]{
1.next #=> 2
(-1).next #=> 0
1.succ #=> 2
(-1).succ #=> 0
//}
@see Integer#pred... -
Numeric (6.0)
-
数値を表す抽象クラスです。Integer や Float などの数値クラス は Numeric のサブクラスとして実装されています。
...- o - o
polar | o - - - - - o
pred | - o - - - - -
Numeric Integer Fixnum Bi......polar | o - - - o
positive? | o - o o -
pred | - o - - -
prev_float | - - o - -...