Sha256: d64355fb696ab1d076fe97c041413ee5c02f0e76152fd8903d91638e5b2ade7b
Contents?: true
Size: 350 Bytes
Versions: 42
Compression:
Stored size: 350 Bytes
Contents
#!/usr/bin/env ruby $:.unshift File.expand_path '../lib', File.dirname(__FILE__) require 'rubygems' require 'tw' if ARGV.empty? STDERR.puts "ruby #{$0} hello world" exit 1 end msg = ARGV.join(' ') client = Tw::Client.new client.auth client.mentions.each do |m| puts m end begin p client.tweet msg rescue => e STDERR.puts e exit 1 end
Version data entries
42 entries across 42 versions & 1 rubygems