Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 178 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(:wait_queue, 'foo', 1)
t.close