APIdock / Ruby
/
method

attron

ruby latest stable - Class: Curses

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.

attron(p1)
public

Turns off the named attributes attrs without turning any other attributes on or off.

See also Curses::Window.attrset for additional information.

static VALUE
curses_attron(VALUE obj, VALUE attrs)
{
 curses_stdscr();
 return window_attron(rb_stdscr,attrs);
 /* return INT2FIX(attroff(NUM2INT(attrs))); */
}

AltStyle によって変換されたページ (->オリジナル) /