chrismo
chrismo
apologies for ignoring this. since bundler 1.13.0.rc.2 is now released, this stuff is getting more of my attention, so i might get back to this soon. i'm happy for your...
i think i fixed this and didn't close the issue
Looks like it was intentionally removed in 526cbfcc back in 2011. Here's the google groups conversation about the removal (also linked in the commit). > I'm DRYing up text per...
I ended up with this for myself: ```ruby def truncate(string, max_width) # if you're worried about performance here, prawn basically does the same # thing with font sizes when you...
This version doesn't iterate, but yields more ragged results: ```ruby def truncate(string, max_width) if width_of(string) > max_width rendered_width = width_of("#{string}...") rendered_pct = max_width / (rendered_width * 1.0) pct_margin = 0.02...
> > @nicowilliams was this fixed by the recent locale-related patches? > > No, sadly. I installed 1.7 yesterday and it seemed to have fixed one of my scripts that...
fwiw, terraform has a similar limitation: https://github.com/hashicorp/terraform-provider-aws/issues/28263
Yeah, Excelinator is just a little bit of glue code.
If a guide like this can't be pedantic, then all hope is lost.
tom marrs, tim s, cloves, flipse, jon daniel ...