method
file_exist?
v2.0.3 -
Show latest stable
- Class:
ActionView::Helpers::AssetTagHelper
file_exist?(path)private
No documentation available.
# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 401
def file_exist?(path)
@@file_exist_cache ||= {}
if !(@@file_exist_cache[path] ||= File.exist?(path))
@@file_exist_cache[path] = true
false
else
true
end
end