るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. _builtin |
  2. ipaddr |
  3. set |
  4. array |
  5. integer |

検索結果

Shell#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (55210.0)

@todo

@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。

Shell::CommandProcessor#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (55210.0)

@todo

@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。

Shell::Filter#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (55210.0)

@todo

@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。

Module#append_features(module_or_class) -> self (18397.0)

モジュール(あるいはクラス)に self の機能を追加します。

モジュール(あるいはクラス)に self の機能を追加します。

このメソッドは Module#include の実体であり、
include を Ruby で書くと以下のように定義できます。

//emlist[例][ruby]{
def include(*modules)
modules.reverse_each do |mod|
# append_features や included はプライベートメソッドなので
# 直接 mod.append_features(self) などとは書けない
mod.__send__(:append_features, s...