instance method directory_exist?

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18 Private — implementation detail, not part of the public API

Signature

directory_exist?(path)

No documentation comment.

Parameters

path req
Source
# File railties/lib/rails/rack/static.rb, line 40
        def directory_exist?(path)
          full_path = File.join(@file_server.root, ::Rack::Utils.unescape(path))
          File.directory?(full_path) && File.readable?(full_path)
        end

Defined in railties/lib/rails/rack/static.rb line 40 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Rack::Static

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close