class Moped::Protocol::Command

This is a convenience class on top of Query for quickly creating a command.

@example

command = Moped::Protocol::Command.new :moped, ismaster: 1
socket.write command.serialize