change and use Indent constant

git-svn-id: file:///home/svn/framework3/trunk@6111 4d416f70-5f16-0410-b530-b9f4589650da
unstable
kris 2009-01-10 22:26:58 +00:00
parent a61baaa1eb
commit 70c93d7691
1 changed files with 3 additions and 4 deletions

View File

@ -10,15 +10,14 @@ require 'rex'
require 'msf/ui' require 'msf/ui'
require 'msf/base' require 'msf/base'
Indent = ' ' Indent = ' '
# Initialize the simplified framework instance. # Initialize the simplified framework instance.
$framework = Msf::Simple::Framework.create $framework = Msf::Simple::Framework.create
tbl = Rex::Ui::Text::Table.new( tbl = Rex::Ui::Text::Table.new(
'Header' => 'Module References', 'Header' => 'Module References',
'Indent' => 0, 'Indent' => Indent.length,
'Columns' => [ 'Module', 'Reference' ] 'Columns' => [ 'Module', 'Reference' ]
) )
@ -57,4 +56,4 @@ $framework.auxiliary.each_module { |name, mod|
end end
} }
puts tbl.to_s puts tbl.to_s