class Ttycaca::Terminal
Public Class Methods
new()
click to toggle source
# File lib/ttycaca/terminal.rb, line 5 def initialize @term = HighLine.new end
Public Instance Methods
height()
click to toggle source
# File lib/ttycaca/terminal.rb, line 13 def height @term.output_rows end
width()
click to toggle source
# File lib/ttycaca/terminal.rb, line 9 def width @term.output_cols end