examples/memcached.rb in toystore-0.6.1 vs examples/memcached.rb in toystore-0.6.2

- old
+ new

@@ -1,8 +1,13 @@ require 'pp' +require 'pathname' require 'rubygems' -require 'toystore' require 'adapter/memcached' + +root_path = Pathname(__FILE__).dirname.join('..').expand_path +lib_path = root_path.join('lib') +$:.unshift(lib_path) +require 'toystore' class GameList include Toy::Store store :memcached, Memcached.new \ No newline at end of file