Sha256: b6030a37f94f5d9d1bf545a21a696f53d2933d6922fd1fd561ded38c8239da91
Contents?: true
Size: 343 Bytes
Versions: 6
Compression:
Stored size: 343 Bytes
Contents
require 'logger' require 'lit/i18n_backend' require 'lit/cache' module Lit class Loader attr_accessor :cache attr_accessor :logger def initialize self.logger ||= Logger.new($stdout) self.logger.info 'initializing Lit' self.cache ||= Cache.new I18n.backend = I18nBackend.new(self.cache) end end end
Version data entries
6 entries across 6 versions & 2 rubygems
Version | Path |
---|---|
motorefi-lit-0.3.3 | lib/lit/loader.rb |
lit-0.3.3 | lib/lit/loader.rb |
lit-0.3.1 | lib/lit/loader.rb |
lit-0.3.0 | lib/lit/loader.rb |
lit-0.2.6 | lib/lit/loader.rb |
lit-0.2.5 | lib/lit/loader.rb |