문제

I'm working with Prawn gem and creating a table. I want to remove all its borders. I can't find this facility in the documentation.

How do I do that?

도움이 되었습니까?

해결책

Here is the documentation for the prawn gem tables.

According to the "Constructor Details" section, you can pass a variety of :border_<x> options to the constructor... I'd suggest trying to pass a value of :border_width => 0 to your table constructor. (note: not tested - try it yourself and see what happens)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top