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.



118
119
120
# File 'lib/redis_client.rb', line 118

def command
  @command
end

Instance Method Details

#_set_command(command) ⇒ Object



120
121
122
# File 'lib/redis_client.rb', line 120

def _set_command(command)
  @command = command
end