public
Created

  • Download Gist
lifo.rb
Ruby
1 2 3 4 5 6 7 8 9
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.