README.md in messagebox-0.0.1.1 vs README.md in messagebox-0.1.0

- old
+ new

@@ -23,26 +23,27 @@ example of `irb` simple code. ```ruby $ irb > require 'messagebox' -> MessageBox.show( - "Example MessageBox", - "This is test message.", 0x40) +> MessageBox.new("Title", "Example message").show ``` -as a result to That show MessageBox of +Warning MessageBox are -* MessageBox title as a **"Example MessageBox"** (First Parameter) -* MessageBox message as a **"This is test message."** (Second Parameter) +```ruby +$ irb +> require 'messagebox' +> MessageBox::Warning.new("Warning", "It's not Good something happen!").show +``` -`0x40` is **MessageBox Style Code.** +Yes or No selectable MessageBox -Please show **MSDN Reference** of MessageBox API Function. Parameter as a `uType` - -currently URL are - -* http://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx +```ruby +$ irb +> require 'messagebox' +> MessageBox::YesNo.new("Yes No message box", "Is this dialog displayed?").show +``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)