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