Method: Curses.beep

Defined in:
ext/curses/curses.c

.beepObject

Sounds an audible alarm on the terminal, if possible; otherwise it flashes the screen (visual bell).

see also Curses.flash



652
653
654
655
656
657
658
659
660
# File 'ext/curses/curses.c', line 652

static VALUE
curses_beep(VALUE obj)
{
#ifdef HAVE_BEEP
    curses_stdscr();
    beep();
#endif
    return Qnil;
}