Class: UnderOs::Config
- Inherits:
-
Object
- Object
- UnderOs::Config
- Defined in:
- lib/under_os/config.rb
Instance Method Summary collapse
- #navbar ⇒ Object
- #navbar=(visible) ⇒ Object
- #root_page ⇒ Object
- #root_page=(page) ⇒ Object
- #status_bar ⇒ Object
- #status_bar=(visible) ⇒ Object
Instance Method Details
#navbar ⇒ Object
18 19 20 |
# File 'lib/under_os/config.rb', line 18 def @app.history..visible end |
#navbar=(visible) ⇒ Object
22 23 24 |
# File 'lib/under_os/config.rb', line 22 def (visible) @app.history..__send__ visible ? :show : :hide, false end |
#root_page ⇒ Object
2 3 4 |
# File 'lib/under_os/config.rb', line 2 def root_page @app.history.root_page end |
#root_page=(page) ⇒ Object
6 7 8 |
# File 'lib/under_os/config.rb', line 6 def root_page=(page) @app.history.root_page = page end |
#status_bar ⇒ Object
10 11 12 |
# File 'lib/under_os/config.rb', line 10 def @status_bar end |
#status_bar=(visible) ⇒ Object
14 15 16 |
# File 'lib/under_os/config.rb', line 14 def (visible) @status_bar = visible end |