Permalink
Browse files

Formatting

  • Loading branch information...
mperham committed Feb 25, 2010
1 parent 8e47e39 commit 5350a1c3741f683658271c26d08073a28ee58936
Showing with 10 additions and 10 deletions.
  1. +10 −10 README.rdoc
View
@@ -42,16 +42,16 @@ memcache-client 1.8.0 added support for native EventMachine connections using
Ruby 1.9. If you are using an EventMachine-based application (e.g. thin), you can
activate the EventMachine support like so:
-require 'memcache'
-require 'memcache/event_machine'
-
-EM.run do
- Fiber.new do
- m = MemCache.new('localhost:11211')
- m.set 'abc', 'xyz'
- m.get 'abc'
- end.resume
-end
+ require 'memcache'
+ require 'memcache/event_machine'
+
+ EM.run do
+ Fiber.new do
+ m = MemCache.new('localhost:11211')
+ m.set 'abc', 'xyz'
+ m.get 'abc'
+ end.resume
+ end
== Questions?

0 comments on commit 5350a1c

Please sign in to comment.