Class: Memcached::Request::Stats

Inherits:
Memcached::Request show all
Defined in:
lib/remcached/packet.rb

Instance Method Summary collapse

Methods inherited from Memcached::Request

parse_header

Methods inherited from Packet

#[], #[]=, extra, extras, field, fields, #parse_body, parse_header, #to_s

Constructor Details

#initialize(contents) ⇒ Stats

Returns a new instance of Stats.



238
239
240
# File 'lib/remcached/packet.rb', line 238

def initialize(contents)
  super({:opcode=>Commands::STAT}.merge(contents))
end