There's no documentation for this item.
Source Code
# File action_controller/caching/actions.rb, line 140 def extract_extension(file_path) # Don't want just what comes after the last '.' to accommodate multi part extensions # such as tar.gz. file_path[/^[^.]+\.(.+)$/, 1] end
<code/>and<pre/>for code samples.