Sha256: 8c9ef1e0a2dbb113891c40e272d5141100dec0877c1e7f162a8912d6804237d9
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
module Interpreter autoload :Translation, "interpreter/translation" mattr_reader :backend @@backend = nil class Engine < Rails::Engine end def self.setup yield self end def self.backend=(backend) @@backend = backend I18n.backend = I18n::Backend::Chain.new(I18n::Backend::KeyValue.new(@@backend), I18n.backend) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
interpreter-0.0.3 | lib/interpreter.rb |
interpreter-0.0.2 | lib/interpreter.rb |