Class: UnderOs::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/under_os/config.rb

Instance Method Summary collapse

Instance Method Details



18
19
20
# File 'lib/under_os/config.rb', line 18

def navbar
  @app.history.navbar.visible
end


22
23
24
# File 'lib/under_os/config.rb', line 22

def navbar=(visible)
  @app.history.navbar.__send__ visible ? :show : :hide, false
end

#root_pageObject



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_barObject



10
11
12
# File 'lib/under_os/config.rb', line 10

def status_bar
  @status_bar
end

#status_bar=(visible) ⇒ Object



14
15
16
# File 'lib/under_os/config.rb', line 14

def status_bar=(visible)
  @status_bar = visible
end