method
file_exist?
rails latest stable - Class:
ActionView::Helpers::AssetTagHelper
file_exist?(path)private
No documentation available.
# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 447
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