Module: RedisClient::HasCommand

Included in:
CommandError
Defined in:
lib/redis_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



126
127
128
# File 'lib/redis_client.rb', line 126

def command
  @command
end

Instance Method Details

#_set_command(command) ⇒ Object



128
129
130
# File 'lib/redis_client.rb', line 128

def _set_command(command)
  @command = command
end