method

handler_for_extension

rails latest stable - Class: ActionView::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.

handler_for_extension(extension)
public

No documentation available.

# File actionpack/lib/action_view/base.rb, line 257
    def self.handler_for_extension(extension)
      (extension && @@template_handlers[extension.to_sym]) || @@default_template_handlers
    end