Class: VaultGUI::ErrorPopup
- Inherits:
-
MessageDialog
- Object
- MessageDialog
- VaultGUI::ErrorPopup
- Defined in:
- lib/gui.rb
Instance Method Summary collapse
-
#initialize(message, caption, kill) ⇒ ErrorPopup
constructor
A new instance of ErrorPopup.
Constructor Details
#initialize(message, caption, kill) ⇒ ErrorPopup
Returns a new instance of ErrorPopup.
180 181 182 183 184 185 186 187 188 189 |
# File 'lib/gui.rb', line 180 def initialize (, caption, kill) super(nil, :message => , :caption => caption, :style => OK | ICON_ERROR) if self.show_modal == ID_OK && kill VaultGUI.vault.destroy Kernel.exit end end |