class Presentify::Screen

Attributes

height[R]
width[R]

Public Class Methods

new() click to toggle source
# File lib/presentify/screen.rb, line 5
def initialize
  @height, @width = `stty -a`.scan(/(\d+) rows.+?(\d+) columns/)[0]
end

Public Instance Methods

clear() click to toggle source
# File lib/presentify/screen.rb, line 9
def clear
  system "clear"
end