Sha256: a37da6e5c6e8eeae33e98040bf385d1800596db0901b5de9ec1a8c73e120b970

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

class UnderOs::Config
  def root_page
    @app.history.root_page
  end

  def root_page=(page)
    @app.history.root_page = page
  end

  def status_bar
    @status_bar
  end

  def status_bar=(visible)
    @status_bar = visible
  end

  def navbar
    @app.history.navbar.visible
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
under-os-ui-1.4.0 lib/under_os/config.rb