module PPCurses
noinspection RubyResolve
Constants
- A_REVERSE
- A_UNDERLINE
- DELETE
- ENTER
- ESCAPE
- INVISIBLE
To be used in conjunction with curs_set for more readable code e.g. Curses.curs_set(INVISIBLE)
- KEY_DOWN
- KEY_LEFT
- KEY_RIGHT
- KEY_UP
- NO
- PP_MIXED_STATE
- PP_OFF_STATE
- PP_ON_STATE
- RADIO_NOT_SELECTED
- RADIO_SELECTED
- SELECTED_CHAR
- SPACE_BAR
- TAB
- VISIBLE
- YES
- ZERO_POINT
Public Class Methods
implements_protocol( element, methods )
click to toggle source
# File lib/ppcurses.rb, line 25 def PPCurses.implements_protocol( element, methods ) methods.each { |method| unless element.respond_to?(method); raise TypeError, "** Method #{method} MUST be defined **" end } end