Class: Amun::Application
- Inherits:
-
Object
- Object
- Amun::Application
- Extended by:
- Forwardable
- Includes:
- Singleton
- Defined in:
- lib/amun/application.rb
Overview
singleton Amun application, it initialize curses, have the frame and handles keyboard
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#frame ⇒ Object
17 18 19 |
# File 'lib/amun/application.rb', line 17 def frame @frame ||= Windows::Frame.new end |
Instance Method Details
#run ⇒ Object
21 22 23 24 25 26 |
# File 'lib/amun/application.rb', line 21 def run init_curses frame.render FeaturesLoader.load keyboard_thread.join end |