Class: MessageBox::Warning
- Inherits:
-
MessageBox
- Object
- MessageBox
- MessageBox::Warning
- Defined in:
- lib/messagebox/warning.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(title, text) ⇒ Warning
constructor
A new instance of Warning.
Methods inherited from MessageBox
Constructor Details
#initialize(title, text) ⇒ Warning
Returns a new instance of Warning.
3 4 5 |
# File 'lib/messagebox/warning.rb', line 3 def initialize(title, text) super(title, text, 0x30) end |