mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-16 05:42:35 +00:00
New tacnet interface functional
This commit is contained in:
16
lib/page.rb
16
lib/page.rb
@@ -5,12 +5,18 @@ module TAC
|
||||
|
||||
attr_reader :menu_bar, :status_bar, :body
|
||||
|
||||
def initialize(host:, header_bar_label:, menu_bar:, status_bar:, body:)
|
||||
def initialize(host:)
|
||||
@host = host
|
||||
@header_bar_label = header_bar_label
|
||||
@menu_bar = menu_bar
|
||||
@status_bar = status_bar
|
||||
@body = body
|
||||
@header_bar_label = host.header_bar_label
|
||||
@menu_bar = host.menu_bar
|
||||
@status_bar = host.status_bar
|
||||
@body = host.body
|
||||
|
||||
@options = {}
|
||||
end
|
||||
|
||||
def options=(options)
|
||||
@options = options
|
||||
end
|
||||
|
||||
def page(klass)
|
||||
|
||||
Reference in New Issue
Block a user