class Gtk2ToDoApp::ErrorDialog
Public Class Methods
new(parent)
click to toggle source
Calls superclass method
# File lib/gtk2todoapp/gui.rb, line 67 def initialize(parent) super([parent: parent, flags: :modal, type: :error, buttons_type: :close], :error_dialog) end
Public Instance Methods
runs()
click to toggle source
# File lib/gtk2todoapp/gui.rb, line 71 def runs set_secondary_text $!.message run destroy end