Sha256: c4dde69a3b7bd24aacd1d5954fff59d3ae5a061260704a60d01712db5e183425
Contents?: true
Size: 352 Bytes
Versions: 1
Compression:
Stored size: 352 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- require 'rubygems' $:.unshift File.expand_path '../lib', File.dirname(__FILE__) require 'skype' chats = Skype.chats puts "#{chats.length} chats found" chat = chats.find{|c| c.members.include? "shokaishokai" and c.topic =~ /test/} || chats[0] p chat chat.post "test" chat.messages.each do |m| puts m end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skype-0.1.3 | samples/chat.rb |