mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Enhanced the version and usage messages just for the bikeshedders :-).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@175 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
d51ec2ce14
commit
410ffaf77b
1 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,15 @@ require 'mongrel'
|
|||
require 'mongrel/rails'
|
||||
|
||||
|
||||
class Version < GemPlugin::Plugin "/commands"
|
||||
include Mongrel::Command::Base
|
||||
|
||||
def run
|
||||
puts "Version #{Mongrel::Const::MONGREL_VERSION}"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
class Start < GemPlugin::Plugin "/commands"
|
||||
include Mongrel::Command::Base
|
||||
|
|
Loading…
Reference in a new issue