lib/rack/file.rb in rack-0.1.0 vs lib/rack/file.rb in rack-0.2.0
- old
+ new
@@ -2,10 +2,10 @@
# Rack::File serves files below the +root+ given, according to the
# path info of the Rack request.
#
# Handlers can detect if bodies are a Rack::File, and use mechanisms
# like sendfile on the +path+.
-
+
class File
attr_accessor :root
attr_accessor :path
def initialize(root)