lib/newark/router.rb in newark-0.0.3 vs lib/newark/router.rb in newark-0.0.4
- old
+ new
@@ -1,10 +1,10 @@
module Newark
class Router
FOUR_O_FOUR = [ 404, {}, [] ].freeze
- attr_accessor :request, :response
+ attr_reader :app, :env, :request, :response
def initialize(app, env)
@app = app
@env = env
@request = Request.new(env)