Method: CWM::Dialog#run

Defined in:
library/cwm/src/lib/cwm/dialog.rb

#runSymbol

The entry point. Will open (and close) a wizard dialog unless one already exists.

Returns:

  • (Symbol)


51
52
53
54
55
56
57
# File 'library/cwm/src/lib/cwm/dialog.rb', line 51

def run
  if should_open_dialog?
    wizard_create_dialog { cwm_show }
  else
    cwm_show
  end
end