Changeset 1251

Show
Ignore:
Timestamp:
02/02/08 12:21:25 (10 months ago)
Author:
sandal
Message:

Fix for #375, Text formatter now much faster thanks to Brian

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ruport/trunk/lib/ruport/formatter/text.rb

    r1228 r1251  
    171171    # Otherwise, uses SystemExtensions to determine terminal width. 
    172172    def width 
    173       options.table_width || SystemExtensions.terminal_width 
     173      options.table_width ||= SystemExtensions.terminal_width 
    174174    end 
    175175