Skip to content

Instantly share code, notes, and snippets.

@moonpolysoft
Created October 11, 2008 14:52
Show Gist options
  • Save moonpolysoft/16279 to your computer and use it in GitHub Desktop.
Save moonpolysoft/16279 to your computer and use it in GitHub Desktop.
require 'rlibs/dynomite'
dyn = Dynomite.new(:host => 'localhost', :port => 11222)
dyn.put("mahkey", nil, "mayvalue")
(context, data_items) = dyn.get("mahkey")
puts data_items.inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment