Method: Redis::Commands::Connection#echo

Defined in:
lib/redis/commands/connection.rb

#echo(value) ⇒ String

Echo the given string.

Parameters:

  • value (String)

Returns:

  • (String)


28
29
30
# File 'lib/redis/commands/connection.rb', line 28

def echo(value)
  send_command([:echo, value])
end