Class: Rad::Face::Demo::Dialogs
- Inherits:
-
Base
- Object
- Base
- Rad::Face::Demo::Dialogs
- Defined in:
- lib/face/demo/dialogs.rb
Instance Method Summary collapse
Instance Method Details
#dialog ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/face/demo/dialogs.rb', line 5 def dialog logger.info "Sleeping for 1 second" sleep 1 if params.valid render action: :dialog else render action: :dialog_form end end |
#dialog_form ⇒ Object
4 |
# File 'lib/face/demo/dialogs.rb', line 4 def dialog_form; end |
#inplace ⇒ Object
17 18 19 20 21 22 |
# File 'lib/face/demo/dialogs.rb', line 17 def inplace logger.info "Sleeping for 1 second" sleep 1 @text = params.text end |
#inplace_form ⇒ Object
16 |
# File 'lib/face/demo/dialogs.rb', line 16 def inplace_form; end |
#show ⇒ Object
2 |
# File 'lib/face/demo/dialogs.rb', line 2 def show; end |