るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
10件ヒット [1-10件を表示] (0.014秒)

別のキーワード

  1. integer pred
  2. _builtin pred
  3. pred integer
  4. pred _builtin

検索結果

Integer#pred -> Integer (54340.0)

self から -1 した値を返します。

self から -1 した値を返します。

//emlist[][ruby]{
1.pred #=> 0
(-1).pred #=> -2
//}

@see Integer#next

Gem::DependencyList#spec_predecessors -> Hash (18301.0)

@todo ???

@todo ???

Return a hash of predecessors. <tt>result[spec]</tt> is an
Array of gemspecs that have a dependency satisfied by the named
spec.

Net::HTTPRedirection (18001.0)

HTTP レスポンス 3xx (Redirection) を表現するクラスです。

HTTP レスポンス 3xx (Redirection) を表現するクラスです。

リクエストが正常に受信しましたが、処理を完了するためには
さらなる動作が必要なことを表します。

Win32::Registry::PredefinedKey (18001.0)

Win32::Registry::PredefinedKey#class (9001.0)

@todo

@todo

絞り込み条件を変える

Win32::Registry::PredefinedKey#close (9001.0)

@todo

@todo

Win32::Registry::PredefinedKey.new(hkey, keyname) (9001.0)

@todo

@todo

Integer#next -> Integer (19.0)

self の次の整数を返します。

self の次の整数を返します。

//emlist[][ruby]{
1.next #=> 2
(-1).next #=> 0
1.succ #=> 2
(-1).succ #=> 0
//}

@see Integer#pred

Integer#succ -> Integer (19.0)

self の次の整数を返します。

self の次の整数を返します。

//emlist[][ruby]{
1.next #=> 2
(-1).next #=> 0
1.succ #=> 2
(-1).succ #=> 0
//}

@see Integer#pred

Numeric (19.0)

数値を表す抽象クラスです。Integer や Float などの数値クラス は Numeric のサブクラスとして実装されています。

数値を表す抽象クラスです。Integer や Float などの数値クラス
は Numeric のサブクラスとして実装されています。

演算や比較を行うメソッド(+, -, *, /, <=>)は Numeric のサブクラスで定義されま
す。Numeric で定義されているメソッドは、サブクラスで提供されているメソッド
(+, -, *, /, %) を利用して定義されるものがほとんどです。
つまり Numeric で定義されているメソッドは、Numeric のサブクラスとして新たに数値クラスを定義した時に、
演算メソッド(+, -, *, /, %, <=>, coerce)だけを定義すれ...

絞り込み条件を変える