private Method

Base.find_template_extension_from_first_render

Determine the template extension from the @first_render filename

Source Code

# File action_view/base.rb, line 492
def find_template_extension_from_first_render
  File.basename(@first_render.to_s)[/^[^.]+\.(.+)$/, 1]
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.