Skip to content

Instantly share code, notes, and snippets.

@robey
Created August 12, 2010 17:55
Show Gist options
  • Save robey/521368 to your computer and use it in GitHub Desktop.
Save robey/521368 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
require "rubygems"
require "thrift_client"
$:.push('./target/gen-rb')
require "funny_name_generator"
client = ThriftClient.new(FunnyNameGenerator::Client, "localhost:9999", :transport_wrapper => nil)
p client.get_name()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment