Top Level Namespace
- Includes:
- Curses
Defined Under Namespace
Modules: Curses Classes: FileViewer
Instance Method Summary collapse
Methods included from Curses
ESCDELAY, ESCDELAY=, TABSIZE, TABSIZE=, addch, addstr, attroff, attron, attrset, beep, bkgd, bkgdset, can_change_color?, cbreak, clear, close_screen, closed?, clrtoeol, color_content, color_pair, color_pairs, colors, cols, crmode, curs_set, def_prog_mode, delch, deleteln, doupdate, echo, flash, getch, getmouse, getstr, has_colors?, inch, init_color, init_pair, init_screen, insch, insertln, keyname, lines, mouseinterval, mousemask, nl, nocbreak, nocrmode, noecho, nonl, noraw, pair_content, pair_number, raw, refresh, reset_prog_mode, resize, resizeterm, scrl, setpos, setscrreg, standend, standout, start_color, stdscr, timeout=, ungetch, ungetmouse, use_default_colors
Instance Method Details
#onsig(sig) ⇒ Object
7 8 9 10 |
# File 'rain.rb', line 7 def onsig(sig) close_screen exit sig end |
#ranf ⇒ Object
12 13 14 |
# File 'rain.rb', line 12 def ranf rand(32767).to_f / 32767 end |