instance method file_exist?

Ruby on Rails 2.3.18

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

Available in: v2.2.3 v2.3.18

Signature

file_exist?(path)

No documentation comment.

Parameters

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

Defined in railties/lib/rails/rack/static.rb line 35 · 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