Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 183 Bytes
require 'rubygems'
require 'rufus/tokyo/tyrant' # sudo gem install rufus-tokyo
t = Rufus::Tokyo::Tyrant.new('127.0.0.1', 1978)
puts t.ext(:enqueue, 'foo', 'bar')
t.close