Class: Redcar::TodoList::ViewTodoListCommand
Constant Summary
Constants included from Observable
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary (collapse)
Methods inherited from Command
active_changed, #environment, inherited, #inspect, norecord, record?, #run
Methods included from Sensitive
#active?, #sensitivities, #sensitivity_names, #sensitize
Methods included from Observable
#add_listener, #notify_listeners, #remove_listener
Instance Method Details
- (Object) execute
39 40 41 42 43 44 45 46 |
# File 'plugins/todo_list/lib/todo_list.rb', line 39 def execute project = Project::Manager.in_window(win) controller = TodoController.new(project.home_dir) tab = win.new_tab(HtmlTab) tab.html_view.controller = controller tab.icon = :document_list tab.focus end |