method

box

ruby latest stable - Class: Curses::Window

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

box(p1, p2, p3 = v3)
public

set the characters to frame the window in. The vertical vert and horizontal hor character.

win = Curses::Window.new(5,5,5,5)
win.box(?|, ?-)