Class: Wee::ConfirmDialog

Inherits:
FormDialog show all
Defined in:
lib/wee/dialog.rb

Overview

class InformDialog

Constant Summary

Constants inherited from Component

Wee::Component::NO_CHILDREN

Instance Method Summary collapse

Methods inherited from FormDialog

#initialize, #render, #render_body, #render_buttons, #render_caption, #render_form

Methods inherited from Component

#add_decoration, #children, #choose_from, #confirm, #decoration, #decoration=, depends, #each_decoration, #find_decoration, #inform, #initialize, instanciate, #process_callbacks, #remove_decoration, #remove_decoration_if, #render, #state

Methods inherited from Presenter

#process_callbacks, #render, #render!, #renderer_class, #state

Constructor Details

This class inherits a constructor from Wee::FormDialog

Instance Method Details

#buttonsObject



74
75
76
# File 'lib/wee/dialog.rb', line 74

def buttons
  [['Yes', true, :yes], ['No', false, :no]]
end