README.md in lita-2.2.0 vs README.md in lita-2.2.1
- old
+ new
@@ -256,10 +256,10 @@
module Lita
module Handlers
class Echo < Handler
route /^echo\s+(.+)/, :echo, help: { "echo FOO" => "Echoes back FOO." }
- def echo(matches)
+ def echo(response)
response.reply(response.matches)
end
end
Lita.register_handler(Echo)