Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Formatting

  • Loading branch information...
commit 5350a1c3741f683658271c26d08073a28ee58936 1 parent 8e47e39
Mike Perham authored February 25, 2010

Showing 1 changed file with 10 additions and 10 deletions. Show diff stats Hide diff stats

  1. 20  README.rdoc
20  README.rdoc
Source Rendered
@@ -42,16 +42,16 @@ memcache-client 1.8.0 added support for native EventMachine connections using
42 42
 Ruby 1.9.  If you are using an EventMachine-based application (e.g. thin), you can
43 43
 activate the EventMachine support like so:
44 44
 
45  
-require 'memcache'
46  
-require 'memcache/event_machine'
47  
-
48  
-EM.run do
49  
-  Fiber.new do
50  
-    m = MemCache.new('localhost:11211')
51  
-    m.set 'abc', 'xyz'
52  
-    m.get 'abc'
53  
-  end.resume
54  
-end
  45
+  require 'memcache'
  46
+  require 'memcache/event_machine'
  47
+
  48
+  EM.run do
  49
+    Fiber.new do
  50
+      m = MemCache.new('localhost:11211')
  51
+      m.set 'abc', 'xyz'
  52
+      m.get 'abc'
  53
+    end.resume
  54
+  end
55 55
 
56 56
 == Questions?
57 57
 

0 notes on commit 5350a1c

Please sign in to comment.
Something went wrong with that request. Please try again.