Module: Merb::Global::NumericProviders

Includes:
Providers
Defined in:
lib/merb_global/numeric_providers.rb,
lib/merb_global/numeric_providers/fork.rb,
lib/merb_global/numeric_providers/java.rb

Defined Under Namespace

Modules: Base Classes: Fork, Java

Class Method Summary collapse

Methods included from Providers

included

Class Method Details

.providerObject

call-seq:

provider => provider

Returns the provider of required type

Returns

provider<Provider>

Returns provider



14
15
16
# File 'lib/merb_global/numeric_providers.rb', line 14

def self.provider
  @@provider ||= self[Merb::Global.config(:numeric_provider, 'fork')]
end