Class: CcBubble

Inherits:
FlexCocoa show all
Defined in:
lib/flex_cocoa/cc_bubble.rb

Instance Attribute Summary

Attributes inherited from FlexCocoa

#exec, #output

Instance Method Summary collapse

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, message)
  super()
  @exec << " bubble --title \"#{title}\" --text \"#{message}\""
  post_initialize
  sleep(3)
end