[Bps-public-commit] Prophet branch, master, updated. dd7758eefb19b0b6b7640ab043b74d96e027ee2d
jesse
jesse at bestpractical.com
Mon Mar 16 13:41:39 EDT 2009
The branch, master has been updated
via dd7758eefb19b0b6b7640ab043b74d96e027ee2d (commit)
from 77f62584d97ccf11bdc1d5b884bb08dee570cfd9 (commit)
Summary of changes:
lib/Prophet/CLI/Command/Server.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit dd7758eefb19b0b6b7640ab043b74d96e027ee2d
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Mar 16 13:41:27 2009 -0400
expose the setup_server method for overriding
diff --git a/lib/Prophet/CLI/Command/Server.pm b/lib/Prophet/CLI/Command/Server.pm
index a00ece0..b453a5e 100644
--- a/lib/Prophet/CLI/Command/Server.pm
+++ b/lib/Prophet/CLI/Command/Server.pm
@@ -9,11 +9,11 @@ use Prophet::Server;
sub run {
my $self = shift;
Prophet::CLI->end_pager();
- my $server = $self->_setup_server();
+ my $server = $self->setup_server();
$server->run;
}
-sub _setup_server {
+sub setup_server {
my $self = shift;
my $server_class = ref($self->app_handle) . "::Server";
if (!$self->app_handle->try_to_require($server_class)) {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list