るりまサーチ

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

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

モジュール

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

Module#>(other) -> bool | nil (29238.0)

比較演算子。 self が other の先祖である場合、true を返します。 self が other の子孫か同一クラスである場合、false を返します。

...self が other の先祖である場合、true を返します。
self が other の子孫か同一クラスである場合、false を返します。

継承関係にないクラス同士の比較では
nil を返します。

@param other 比較対象のモジュールやクラス

@raise TypeErr...
...her がクラスやモジュールではない場合に発生します。

@see Module#<

//emlist[例][ruby]{
module Awesome; end
module Included
include Awesome
e
nd
module Prepended
prepend Awesome
e
nd

Included.ancestors # => [Included, Awesome]
Awesome > Included # => true
Included > Awesome...
...# => false

Prepended.ancestors # => [Awesome, Prepended]
Awesome > Prepended # => true
Prepended > Awesome # => false

Awesome > Awesome # => false
Awesome > Object # => nil
//}...

Comparable#>(other) -> bool (29214.0)

比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が正の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。

...=> をもとにオブジェクト同士を比較します。
<=> が正の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。

@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <=>...
...が nil を返したときに発生します。

//emlist[例][ruby]{
1 > 0 # => true
1 > 1 # => false
//}...

Integer#>(other) -> bool (29214.0)

比較演算子。数値として大きいか判定します。

...演算子。数値として大きいか判定します。

@param other 比較対象の数値
@return self よりも other の方が小さい場合 true を返します。
そうでなければ false を返します。

//emlist[][ruby]{
1 > 0 # => true
1 > 1 # => false
//}...

Complex#>(other) -> bool (29202.0)

@undef

...@undef...

Hash#>(other) -> bool (26220.0)

other が self のサブセットである場合に真を返します。

...other が self のサブセットである場合に真を返します。

@param other 自身と比較したい Hash オブジェクトを指定します。

//emlist[例][ruby]{
h1 = {a:1, b:2}
h2 = {a:1, b:2, c:3}
h1 > h2 # => false
h2 > h1 # => true
h1 > h1 # => false
//}

@see Hash#<=,...
...Hash#<, Hash#>=...

絞り込み条件を変える

Math::E -> Float (26209.0)

自然対数の底

...自然対数の底

//emlist[例][ruby]{
p Math::E
# => 2.718281828
//}...

Float#>(other) -> bool (26208.0)

比較演算子。数値として大きいか判定します。

...として大きいか判定します。

@param other 比較対象の数値
@return self よりも other の方が小さい場合 true を返します。
そうでなければ false を返します。

//emlist[例][ruby]{
3.14 > 3.1415 # => false
3.14 >= 3.1415 # => false
//}...

Fixnum#>(other) -> bool (26202.0)

比較演算子。数値として大きいか判定します。

...比較演算子。数値として大きいか判定します。

@param other 比較対象の数値
@return self よりも other の方が小さい場合 true を返します。
そうでなければ false を返します。...

Thread::MUTEX_FOR_THREAD_EXCLUSIVE -> Mutex (20402.0)

Thread.exclusive用のMutexオブジェクトです。

...Thread.exclusive用のMutexオブジェクトです。...
...Thread.exclusive用のMutexオブジェクトです。
(private constant です。)...

GC.verify_compaction_references(toward: nil, double_heap: nil) -> Hash (20302.0)

コンパクションの参照の一貫性を検証します。

...系依存 (CRuby 特有) です。
コンパクション中に移動されたオブジェクトは T_MOVED オブジェクトに置き換えられます。
コンパクション後には T_MOVED を参照するオブジェクトは存在するべきではありません。

この関数は全ての...
...MOVED への参照をもつオブジェクトがあれば、マークスタックにプッシュされて、
SEGV が起きるでしょう。

@param toward nil か :empty を指定します。
@param double_heap ヒープサイズを2倍にするかどうかを真偽値で指定します。

@retur...
...n GC.compact の返り値と同じです。

@see GC.compact...

絞り込み条件を変える

Encoding::InvalidByteSequenceError#destination_encoding -> Encoding (20202.0)

エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。

...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。

@see Encoding::InvalidByteSequenceError#source_encoding,
E
ncoding::UndefinedConversionError#destination_encoding...

Encoding::InvalidByteSequenceError#destination_encoding_name -> String (20202.0)

エラーを発生させた変換の変換先のエンコーディングを文字列で返します。

...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。

@see Encoding::InvalidByteSequenceError#destination_encoding...
<< 1 2 3 ... > >>