Sha256: 61fda06484a538b4087a6f6e433512ddaf45d1cce4ffac9d1f9558e98e367751

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

require 'yaml'
require "rhino/version"
require "rhino/routing"
require "rhino/util"
require "rhino/dependencies"
require "rhino/controller"
require "rhino/file_model"
require "rhino/sqlite_model"

module Rhino
  class Application
    def call(env)
      if env['PATH_INFO'] == '/favicon.ico'
        return [404,
          {'Content-Type' => 'text/html'}, []]
      end
      rack_app = get_rack_app(env)
      rack_app.call(env)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhino-framework-0.1.1 lib/rhino.rb