るりまサーチ

最速Rubyリファレンスマニュアル検索!
252件ヒット [1-100件を表示] (0.022秒)
トップページ > クエリ:rm[x] > 種類:モジュール[x]

別のキーワード

  1. fileutils rm
  2. fileutils rm_r
  3. fileutils rm_f
  4. fileutils rm_rf
  5. un rm

ライブラリ

キーワード

検索結果

<< 1 2 3 > >>

MonitorMixin (6001.0)

スレッドの同期機構としてのモニター機能を提供するモジュールです。

...クラスに Module#include したり、オブジェクトに
Object#extend したりすることでそのクラス/オブジェクトに
モニタ機能を追加します。

=== 例

//emlist[消費者、生産者問題の例][ruby]{
require 'monitor'

buf = []
buf.extend(MonitorMixin) # 配列...
...期化

MonitorMixin は初期化される必要があります。
上の例のように Object#extend を使って利用する場合は
自動的に初期化されます。

//emlist[extend する例][ruby]{
require 'monitor'
buf = []
buf.extend(MonitorMixin)
//}

しかし、MonitorMixin をクラ...
...ス定義の際に Module#include を使って
利用する場合は、initialize メソッドで super() か super を呼んで、初期化する必要があります。
スーパークラスの initialize に引数を渡したい場合は super を、そうでない場合は super() を呼んで...

JSON::Ext::Generator::GeneratorMethods::Array (3001.0)

Alias of JSON::Generator::GeneratorMethods::Array

...Alias of JSON::Generator::GeneratorMethods::Array...

JSON::Ext::Generator::GeneratorMethods::FalseClass (3001.0)

Alias of JSON::Generator::GeneratorMethods::FalseClass

...Alias of JSON::Generator::GeneratorMethods::FalseClass...

JSON::Ext::Generator::GeneratorMethods::Float (3001.0)

Alias of JSON::Generator::GeneratorMethods::Float

...Alias of JSON::Generator::GeneratorMethods::Float...

JSON::Ext::Generator::GeneratorMethods::Hash (3001.0)

Alias of JSON::Generator::GeneratorMethods::Hash

...Alias of JSON::Generator::GeneratorMethods::Hash...

絞り込み条件を変える

JSON::Ext::Generator::GeneratorMethods::Integer (3001.0)

Alias of JSON::Generator::GeneratorMethods::Integer

...Alias of JSON::Generator::GeneratorMethods::Integer...

JSON::Ext::Generator::GeneratorMethods::NilClass (3001.0)

Alias of JSON::Generator::GeneratorMethods::NilClass

...Alias of JSON::Generator::GeneratorMethods::NilClass...

JSON::Ext::Generator::GeneratorMethods::Object (3001.0)

Alias of JSON::Generator::GeneratorMethods::Object

...Alias of JSON::Generator::GeneratorMethods::Object...

JSON::Ext::Generator::GeneratorMethods::String (3001.0)

Alias of JSON::Generator::GeneratorMethods::String

...Alias of JSON::Generator::GeneratorMethods::String...
<< 1 2 3 > >>