Class: Brewby::CLI::View
- Inherits:
-
Object
- Object
- Brewby::CLI::View
- Includes:
- FFI::NCurses
- Defined in:
- lib/brewby/cli/view.rb
Instance Method Summary collapse
- #clear ⇒ Object
-
#initialize ⇒ View
constructor
A new instance of View.
Constructor Details
#initialize ⇒ View
Returns a new instance of View.
10 11 12 13 14 15 16 17 |
# File 'lib/brewby/cli/view.rb', line 10 def initialize initscr cbreak noecho timeout(100) curs_set 0 counter = 0 end |
Instance Method Details
#clear ⇒ Object
19 20 21 |
# File 'lib/brewby/cli/view.rb', line 19 def clear endwin end |