Sha256: 34b78586049599e2b957697e20cd3804c2e323f54a229f42a5afb39e52a894d8
Contents?: true
Size: 542 Bytes
Versions: 128
Compression:
Stored size: 542 Bytes
Contents
module RubyApp module Rack require 'ruby_app' class Language def initialize(application) @application = application end def call(environment) RubyApp::Language.load!(RubyApp::Request.language) begin #RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} RubyApp::Language.locale.code=#{RubyApp::Language.locale.code.inspect}") return @application.call(environment) ensure RubyApp::Language.unload! end end end end end
Version data entries
128 entries across 128 versions & 1 rubygems