Class: Rfd::DebugWindow

Inherits:
Window
  • Object
show all
Defined in:
lib/rfd/windows.rb

Instance Method Summary collapse

Methods inherited from Window

draw_borders, #writeln

Constructor Details

#initializeDebugWindow

Returns a new instance of DebugWindow.



70
71
72
# File 'lib/rfd/windows.rb', line 70

def initialize
  super maxy: 1, maxx: 29, begy: 1, begx: Curses.cols - 30
end

Instance Method Details

#debug(s) ⇒ Object



74
75
76
77
# File 'lib/rfd/windows.rb', line 74

def debug(s)
  writeln 0, s.to_s
  noutrefresh
end