Class: CcBubble
Instance Attribute Summary
Attributes inherited from FlexCocoa
Instance Method Summary collapse
-
#initialize(title, message) ⇒ CcBubble
constructor
A new instance of CcBubble.
Methods inherited from FlexCocoa
#button_response, #buttons_template, #parts_init, #post_initialize, set_path
Constructor Details
#initialize(title, message) ⇒ CcBubble
Returns a new instance of CcBubble.
8 9 10 11 12 13 |
# File 'lib/flex_cocoa/cc_bubble.rb', line 8 def initialize (title, ) super() @exec << " bubble --title \"#{title}\" --text \"#{}\"" post_initialize sleep(3) end |