Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 258 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(:set_append, 'foo', 'bar')
puts t.ext(:set_append, 'foo', 'bar')
puts t.ext(:set_get, 'foo', '')
t.close
Jump to Line
Something went wrong with that request. Please try again.