別のキーワード
検索結果
先頭5件
-
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 で使用するインスタンスメソッドを追加するためのモジュールです。 -
Profiler
_ _ (40.0) -
プロファイラの実装です。 Profiler__.start_profile 実行から、Profiler__.stop_profile までの 区間の実行コードのプロファイルを取得します。
...0.19 514 0.37 0.37 Module#method_added
6.57 1.80 0.14 1 140.00 140.00 Profiler__.start_profile
4.23 1.89 0.09 15 6.00 10.67 Kernel.extend
3.29 1.96 0.07 15 4.67 4.67 Module#extend_object
3.29 2.......0.06 28 2.14 2.86 Module#attr
1.88 2.13 0.04 19 2.11 2.11 Module#private
1.41 2.16 0.03 29 1.03 1.38 Module#include
0.94 2.18 0.02 10 2.00 4.00 Module#module_function
0.94 2.20 0.... -
Singleton (22.0)
-
Singleton パターンを提供するモジュールです。
Singleton パターンを提供するモジュールです。
Mix-in により singleton パターンを提供します。
Singleton モジュールを include することにより、クラスは
高々ひとつのインスタンスしか持たないことが保証されます。
Singleton を Mix-in したクラスの
クラスメソッド instance はその唯一のインスタンスを返します。
new は private メソッドに移され、外部から呼び出そうとするとエラーになります。
=== サンプルコード
require 'singleton'
class SomeSingletonCl...