Class: Wee::MessageDialog
- Inherits:
-
FormDialog
- Object
- Presenter
- Component
- Dialog
- FormDialog
- Wee::MessageDialog
- Defined in:
- lib/wee/dialog.rb
Overview
class FormDialog
Constant Summary
Constants inherited from Component
Instance Method Summary collapse
- #buttons ⇒ Object
-
#initialize(caption, *buttons) ⇒ MessageDialog
constructor
A new instance of MessageDialog.
Methods inherited from FormDialog
#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, instanciate, #process_callbacks, #remove_decoration, #remove_decoration_if, #render, #state
Methods inherited from Presenter
#process_callbacks, #render, #render!, #renderer_class, #state
Constructor Details
#initialize(caption, *buttons) ⇒ MessageDialog
Returns a new instance of MessageDialog.
57 58 59 60 |
# File 'lib/wee/dialog.rb', line 57 def initialize(, *) super() @buttons = end |
Instance Method Details
#buttons ⇒ Object
62 63 64 |
# File 'lib/wee/dialog.rb', line 62 def @buttons end |