
Hubot::Response

## generally Hubot::Response used to Hubot::Script::* callback.
## assume this is a callback subroutine.
$robot->hear(
qr/echo (.+)/i,
sub {
my $res = shift;
$res->reply($res->match->[0]); # aanoaa> echo 123
# hubot> aanoaa: 123
}
);

Interface between Hubot::Script::* callback and Hubot::Adapter::*

Hyungsuk Hong <hshong@perl.kr>

This software is copyright (c) 2012 by Hyungsuk Hong.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.