るりまサーチ

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

別のキーワード

  1. kernel $-l
  2. matrix l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

ライブラリ

クラス

モジュール

検索結果

<< < 1 2 3 >>

Delegator#__getobj__ -> object (11001.0)

委譲先のオブジェクトを返します。

...オブジェクトを返します。

本メソッドは、サブクラスで再定義する必要があり、
デフォルトでは NotImplementedError が発生します。

@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。...

Delegator#__setobj__(obj) -> object (11001.0)

委譲先のオブジェクトをセットします。

...委譲先のオブジェクトをセットします。

@param obj 委譲先のオブジェクトを指定します。

@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。...

Delegator#method_missing(m, *args) -> object (11001.0)

渡されたメソッド名と引数を使って、Delegator#__getobj__ が返すオブジェクトへメソッド委譲を行います。

...渡されたメソッド名と引数を使って、Delegator#__getobj__ が返すオブジェクトへメソッド委譲を行います。

@param m メソッドの名前(シンボル)

@param args メソッドに渡された引数

@return 委譲先のメソッドからの返り値

@see Basic...

Module#ruby2_keywords(method_name, ...) -> nil (3107.0)

For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.

...hrough
a normal argument splat. This should only be called on methods that
accept an argument splat (`*args`) but not explicit keywords or a
keyword splat. It marks the method such that if the method is called
with keyword arguments, the final hash argument is marked with a special
flag such that...
...is the final element of a normal argument splat to
another method call, and that method call does not include explicit
keywords or a keyword splat, the final element is interpreted as
keywords. In other words, keywords will be passed through the method to
other methods.

This should only be used fo...
...methods that delegate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.

This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby versions
before 2.7, check that the module responds t...
<< < 1 2 3 >>