dont use the module table anymore

git-svn-id: file:///home/svn/framework3/trunk@10749 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-10-19 15:03:30 +00:00
parent 975cf8a741
commit 432f235cfd
1 changed files with 7 additions and 1 deletions

View File

@ -2172,7 +2172,13 @@ protected
end
def show_plugins # :nodoc:
tbl = generate_module_table("Plugins")
tbl = Table.new(
Table::Style::Default,
'Header' => 'Plugins',
'Prefix' => "\n",
'Postfix' => "\n",
'Columns' => [ 'Name', 'Description' ]
)
framework.plugins.each { |plugin|
tbl << [ plugin.name, plugin.desc ]