| WizardStruct |
= |
Struct.new('Wizard', :description, :page, :target_state, :payload_state, :options_state, :review_state) |
| ARRAY |
= |
[ ['Target', ["Select your target", "intro", true, false, false, false], ], ['Payload', ["Select your payload", "payload", true, true, false, false], ], ['Options', ["Select your options", "option", true, true, true, false], ], ['Review', ["Confirm settings", "end", true, true, true, true], ], ].collect do |item, state| WIZARD[item] = WizardStruct.new( state[0], state[1], state[2], state[3], state[4], state[5] |