Flowdock
class
Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Superclass: Object
  • 1.0.0
  • 1.1.1
  • 1.1.6
  • 1.2.0
  • 1.2.6
  • 2.0.0
  • 2.0.3
  • 2.1.0
  • 2.2.1
  • 2.3.2 (0)
  • 2.3.8
  • 3.0.0
  • 3.0.5
  • 3.0.9
  • 3.1.0
  • 3.2.1
  • 3.2.3
  • 3.2.8
  • 3.2.13
  • 4.0.2
  • What's this?

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2.3.2) is shown here.

Rack::Directory serves entries below the root given, according to the path info of the Rack request. If a directory is found, the file’s contents will be presented in an html based index. If a file is found, the env will be passed to the specified app.

If app is not specified, a Rack::File of the same root will be used.

Constants

DIR_FILE = "%s%s%s%s"

DIR_PAGE = <<-PAGE %s

%s


%s
Name Size Type Last Modified

PAGE

F = ::File

FILESIZE_FORMAT = [ ['%.1fT', 1 << 40], ['%.1fG', 1 << 30], ['%.1fM', 1 << 20], ['%.1fK', 1 << 10], ]

Attributes

[R] files
[RW] root
[RW] path
Show files where this class is defined (1 file)
Register or log in to add new notes.