Skip to content

Instantly share code, notes, and snippets.

@lifo
Created August 13, 2011 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lifo/1144297 to your computer and use it in GitHub Desktop.
Save lifo/1144297 to your computer and use it in GitHub Desktop.
class Lifo < ActionView::Template::Handler
include ActionView::Template::Handlers::Compilable
def compile(template)
template.source.inspect
end
end
ActionView::Template.register_template_handler :lifo, Lifo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment