Class: Rfd::DebugWindow
- Defined in:
- lib/rfd/windows.rb
Instance Method Summary collapse
- #debug(s) ⇒ Object
-
#initialize ⇒ DebugWindow
constructor
A new instance of DebugWindow.
Methods inherited from Window
Constructor Details
#initialize ⇒ DebugWindow
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 |