Module: Merb::Global::DateProviders

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

Defined Under Namespace

Modules: Base Classes: Fork

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/date_providers.rb', line 14

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