Class: Palaver::MsgBox
Instance Method Summary collapse
-
#initialize(options) ⇒ MsgBox
constructor
A new instance of MsgBox.
- #show ⇒ Object
Methods inherited from Base
#height, #text, #width, #with_tempfile
Constructor Details
#initialize(options) ⇒ MsgBox
Returns a new instance of MsgBox.
6 7 8 |
# File 'lib/palaver/msgbox.rb', line 6 def initialize() super end |
Instance Method Details
#show ⇒ Object
10 11 12 13 |
# File 'lib/palaver/msgbox.rb', line 10 def show cmd = "dialog --msgbox '#@text' #@height #@width" system cmd end |