Module: Whosup::Terminal

Defined in:
lib/whosup/terminal.rb

Class Method Summary collapse

Class Method Details

.columnsObject



4
5
6
# File 'lib/whosup/terminal.rb', line 4

def self.columns
  `tput cols`.chomp.to_i - 1
end