Class: MainWindow
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize ⇒ MainWindow
constructor
A new instance of MainWindow.
Constructor Details
#initialize ⇒ MainWindow
Returns a new instance of MainWindow.
13 14 15 |
# File 'lib/views/main_window.rb', line 13 def initialize @view_tab_students = TabStudentsView.new end |
Instance Method Details
#create ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/views/main_window.rb', line 17 def create window('Задания', 1000, 600) { tab { tab_item('Пользователи') { UserListView.new.create } tab_item('Менеджеры') { ManagerListView.new.create } tab_item('Задания') { TaskListView.new.create } } } end |