hirb icon indicating copy to clipboard operation
hirb copied to clipboard

Rescue NameError in formatter

Open pik opened this issue 9 years ago • 0 comments

So when Hirb tries pretty-print my lists, which are very often not intended to be tables (but happen to contain an AR object) it consistently breaks without recourse. It would be nicer to rescue in the render method than to swallow the whole block - but I'm not sure there is a very neat way to do that, since each formatter defines it's own renderer.

pik avatar Jul 19 '15 15:07 pik