Module: Ruport::SystemExtensions

Defined in:
lib/ruport.rb

Overview

SystemExtensions lovingly ganked from HighLine 1.2.1

The following modifications have been made by Gregory Brown on 2006.06.25

  • Outer Module is changed from HighLine to Ruport

  • terminal_width / terminal_height added

The following modifications have been made by Gregory Brown on 2006.08.13

  • removed most methods, preserving only terminal geometry features

All modifications are under the distributions terms of Ruport. Copyright 2006, Gregory Brown. All Rights Reserved

Original copyright notice preserved below.


Created by James Edward Gray II on 2006-06-14.
Copyright 2006 Gray Productions. All rights reserved.

This is Free Software.  See LICENSE and COPYING for details.

Class Method Summary collapse

Class Method Details

.terminal_widthObject



80
81
82
# File 'lib/ruport.rb', line 80

def terminal_width
  terminal_size.first
end