Class: Shoes::Mock::Dialog
- Inherits:
-
Object
- Object
- Shoes::Mock::Dialog
- Defined in:
- shoes-core/lib/shoes/mock/dialog.rb
Instance Method Summary collapse
Instance Method Details
#alert(*_args) ⇒ Object
6 7 8 |
# File 'shoes-core/lib/shoes/mock/dialog.rb', line 6 def alert(*_args) nil end |
#confirm(_msg = '') ⇒ Object
14 15 16 |
# File 'shoes-core/lib/shoes/mock/dialog.rb', line 14 def confirm(_msg = '') true end |
#dialog_chooser(*_args) ⇒ Object
10 11 12 |
# File 'shoes-core/lib/shoes/mock/dialog.rb', line 10 def dialog_chooser(*_args) "#{Dir.tmpdir}/test_file_delete_after" end |