lib/remcached/packet.rb in remcached-0.3.1 vs lib/remcached/packet.rb in remcached-0.4.0
- old
+ new
@@ -233,9 +233,15 @@
class Stats < Request
def initialize(contents)
super({:opcode=>Commands::STAT}.merge(contents))
end
end
+
+ class NoOp < Request
+ def initialize
+ super(:opcode=>Commands::NOOP)
+ end
+ end
end
##
# Response header:
#