Sha256: 46b774a15ebb3287d89dd28f4895c3eebd17bf540ac5cea11c885fc8182ee3a0
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' $:.unshift File.expand_path '../lib', File.dirname(__FILE__) require 'skype' Skype.chats.each do |chat| puts "-"*5 puts "#{chat.id}" puts "\"#{chat.topic}\"" unless chat.topic.empty? chat.messages.reverse[0...3].each do |m| puts m end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
skype-0.2.8 | samples/chat_list.rb |
skype-0.2.7 | samples/chat_list.rb |