Method: Ruport::Formatter::Text#width
- Defined in:
- lib/ruport/formatter/text.rb
#width ⇒ Object
Returns options.table_width if specified.
Otherwise, uses SystemExtensions to determine terminal width.
165 166 167 |
# File 'lib/ruport/formatter/text.rb', line 165 def width .table_width ||= SystemExtensions.terminal_width end |