るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. irb/input-method new
  2. irb/input-method gets
  3. _builtin define_method
  4. irb/input-method encoding
  5. irb/input-method readable_atfer_eof?

ライブラリ

キーワード

検索結果

ERB::DefMethod (18052.0)

def_erb_methodを提供するモジュールです。

def_erb_methodを提供するモジュールです。

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

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

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

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

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

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

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

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

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

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

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

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

絞り込み条件を変える

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

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

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

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

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

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

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

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

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

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

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

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

JSON::Ext::Generator::GeneratorMethods::String::Extend (9004.0)

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

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

絞り込み条件を変える

JSON::Ext::Generator::GeneratorMethods::TrueClass (9004.0)

Alias of JSON::Generator::GeneratorMethods::TrueClass

Alias of JSON::Generator::GeneratorMethods::TrueClass

JSON::Generator::GeneratorMethods::Array (9004.0)

Array に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

Array に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::FalseClass (9004.0)

FalseClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

FalseClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::Float (9004.0)

Float に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

Float に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::Hash (9004.0)

Hash に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

Hash に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

絞り込み条件を変える

JSON::Generator::GeneratorMethods::Integer (9004.0)

Integer に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

Integer に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::NilClass (9004.0)

NilClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

NilClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::Object (9004.0)

Object に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

Object に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::String (9004.0)

String に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

String に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::String::Extend (9004.0)

String に JSON で使用する特異メソッドを追加するためのモジュールです。

String に JSON で使用する特異メソッドを追加するためのモジュールです。

絞り込み条件を変える

JSON::Generator::GeneratorMethods::TrueClass (9004.0)

TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

Singleton (22.0)

Singleton パターンを提供するモジュールです。

Singleton パターンを提供するモジュールです。

Mix-in により singleton パターンを提供します。

Singleton モジュールを include することにより、クラスは
高々ひとつのインスタンスしか持たないことが保証されます。

Singleton を Mix-in したクラスの
クラスメソッド instance はその唯一のインスタンスを返します。

new は private メソッドに移され、外部から呼び出そうとするとエラーになります。

=== サンプルコード

require 'singleton'

class SomeSingletonCl...