This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.
split(file)
Returns file split into an array
[base_path, name, locale, format, extension]
# File actionpack/lib/action_view/template.rb, line 231 def split(file) if m = file.to_s.match(/^(.*\/)?([^\.]+)\.(.*)$/) [m[1], m[2], *parse_extensions(m[3])] end end