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.



96
97
98
# File 'lib/redis_client.rb', line 96

def command
  @command
end

Instance Method Details

#_set_command(command) ⇒ Object



98
99
100
# File 'lib/redis_client.rb', line 98

def _set_command(command)
  @command = command
end