MacRuby : NSSharingService
#
# AppDelegate.rb
# tweet
#
# Created by watson on 2012/07/27.
#
class AppDelegate
attr_accessor :window
def applicationDidFinishLaunching(a_notification)
# Insert code here to initialize your application
serv = NSSharingService.sharingServiceNamed(NSSharingServiceNamePostOnTwitter)
serv.performWithItems(["test tweet"])
end
end