method

terminal_width

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: Application
terminal_width() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rake/application.rb, line 287
    def terminal_width
      if @terminal_columns.nonzero?
        result = @terminal_columns
      else
        result = unix? ? dynamic_width : 80
      end
      (result < 10) ? 80 : result
    rescue
      80
    end
Register or log in to add new notes.