class Padrino::Helpers::OutputHelpers::AbstractHandler
def template_extension
@handler.template_extension => "erb"
@example
Returns extension of the template
#
def template_extension caller.find { |c| c =~ /\/views\// }[/\.([\w]*?)\:/, 1] rescue nil # "/some/path/app/views/posts/foo.html.erb:3:in `evaluate_source'" # => "erb" end