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.



162
163
164
# File 'lib/redis_client.rb', line 162

def command
  @command
end

Instance Method Details

#_set_command(command) ⇒ Object



164
165
166
# File 'lib/redis_client.rb', line 164

def _set_command(command)
  @command = command
end