Sha256: 54774e98060de00e225135d00ae715e4f21d03148ebc5d15a24328510c1d4b5d

Contents?: true

Size: 427 Bytes

Versions: 3

Compression:

Stored size: 427 Bytes

Contents

module RubyApp

  module Rack
    require 'ruby_app/application'
    require 'ruby_app/log'

    class Application

      def initialize(application, options = {})
        @application = application
        RubyApp::Application.create(options)
      end

      def call(environment)
        RubyApp::Application.execute(environment) do
          return @application.call(environment)
        end
      end

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
RubyApp-0.0.8 lib/ruby_app/rack/application.rb
RubyApp-0.0.7 lib/ruby_app/rack/application.rb
RubyApp-0.0.6 lib/ruby_app/rack/application.rb