Closed benlieb closed 11 years ago
Hi! (not the gem author here,but I had to use that as well).
Here's what I use:
variable.ai(:plain => true)
I'll add that you'll find other options (such as :index => false) on the readme:
https://github.com/michaeldv/awesome_print/
(but I think I discovered the ai method after looking at the code when providing a patch)
Tnx for the reply. I actually found that myself by reading the source code. Good we came to the same conclusion ;)
@thbar - Thank you for the tip, when calling ap
in my erb template, it was still sending the output to the console. Perhaps this is because I'm using Padrino + Sinatra and not loading ActiveView::Base
?
I often find myself wanting to put ap formated strings into