Method: Redis#echo

Defined in:
lib/redis.rb

#echo(value) ⇒ String

Echo the given string.

Parameters:

  • value (String)

Returns:

  • (String)


92
93
94
95
96
# File 'lib/redis.rb', line 92

def echo(value)
  synchronize do |client|
    client.call([:echo, value])
  end
end