Sha256: f6bfc3133105ff9aee1dffe4b8ef6eb97235cbc1dd1fd3b202602b52eca06fb4

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

require "messagebox/version"
require 'Win32API'

class MessageBox
  def self.show(title, message, opt_value)
    Win32API.new(
      "user32",
      "MessageBox",
      %w(p p p i),
      'i'
    ).call(nil, message, title, opt_value)  
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
messagebox-0.0.1.1 lib/messagebox.rb