private Method

AssetTagHelper.file_exist?(path)

There's no documentation for this item.

Source Code

# File action_view/helpers/asset_tag_helper.rb, line 416
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.