Class: MessageBox
- Inherits:
-
Object
- Object
- MessageBox
- Defined in:
- lib/messagebox.rb
Class Method Summary collapse
Class Method Details
.show(title, message, opt_value) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/messagebox.rb', line 5 def self.show(title, , opt_value) Win32API.new( "user32", "MessageBox", %w(p p p i), 'i' ).call(nil, , title, opt_value) end |