class Sinatra::RPC::Handler::Echo
A simple test handler. Its only purpose is to provide a method that returns the passed string.
Public Instance Methods
echo(string)
click to toggle source
A simple echo method. It returns the passed string. @param object [String] the string to return @return [String] the string itself
# File lib/sinatra/rpc/handler/echo.rb, line 11 def echo(string) string end