Sha256: 324b57494e5068b5ebdead5fd1f9ebbec763dc7f6bbe98f41313590d027f5502
Contents?: true
Size: 583 Bytes
Versions: 8
Compression:
Stored size: 583 Bytes
Contents
module RubyApp module Rack require 'ruby_app' class Application def initialize(application, options = {}) @application = application RubyApp::Configuration.load!(options[:configuration_paths]) RubyApp::Log.open! RubyApp::Application.create! RubyApp::Session.start_thread! end def call(environment) begin return @application.call(environment) rescue Exception => exception RubyApp::Log.exception(exception) raise exception end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems