Method: CWM::UIState#find_tab
- Defined in:
- library/cwm/src/lib/cwm/ui_state.rb
#find_tab(pages) ⇒ CWM::Page?
Select the tab to open within the node after a redraw
146 147 148 149 150 |
# File 'library/cwm/src/lib/cwm/ui_state.rb', line 146 def find_tab(pages) return nil unless tab pages.find { |page| page.label == tab } end |