Rb-Messagebox
:exclamation: For Windows MessageBox API Only supported currently. :exclamation:
Rb-Messagebox are show MessageBox dialog for Win32 API. (for Ruby)
Installation
$ gem install
or Write to the Your application Gemfile
gem 'messagebox'
and execute bundle command.
Usage
example of irb simple code.
$ irb
> require 'messagebox'
> MessageBox.new("Title", "Example message").show
Warning MessageBox are
$ irb
> require 'messagebox'
> MessageBox::Warning.new("Warning", "It's not Good something happen!").show
Yes or No selectable MessageBox
$ irb
> require 'messagebox'
> MessageBox::YesNo.new("Yes No message box", "Is this dialog displayed?").show
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request