Create a gist now

Instantly share code, notes, and snippets.

@lifo /lifo.rb
Created Aug 13, 2011

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