Module: CursesLib
- Included in:
- Bang::View, Launch::View
- Defined in:
- lib/curses_lib.rb
Constant Summary collapse
- BLUE_COLOR =
30
- CYAN_COLOR =
40
- GREEN_COLOR =
50
- MAGENTA_COLOR =
60
- RED_COLOR =
70
- YELLOW_COLOR =
80
- WHITE_COLOR =
90
- ORANGE =
20
- ORANGE_COLOR =
20
Instance Method Summary collapse
Instance Method Details
#attrib(*attributes) ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/curses_lib.rb', line 28 def attrib *attributes attributes.each do |attribute| Curses.attron attribute end yield attributes.each do |attribute| Curses.attroff attribute end end |