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.



172
173
174
# File 'lib/redis_client.rb', line 172

def command
  @command
end

Instance Method Details

#_set_command(command) ⇒ Object



174
175
176
# File 'lib/redis_client.rb', line 174

def _set_command(command)
  @command = command
end