From dcefdc5f28c4f507036fe991b2f13561dbdf264b Mon Sep 17 00:00:00 2001 From: James Lee Date: Mon, 4 Apr 2011 17:27:12 +0000 Subject: [PATCH] whitespace and rdoc fixes git-svn-id: file:///home/svn/framework3/trunk@12234 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/parser/ip360_xml.rb | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/lib/rex/parser/ip360_xml.rb b/lib/rex/parser/ip360_xml.rb index ed1e2a4de5..04737a9f7f 100644 --- a/lib/rex/parser/ip360_xml.rb +++ b/lib/rex/parser/ip360_xml.rb @@ -15,11 +15,11 @@ class IP360XMLStreamParser end def reset_state - @host = {'hname' => nil, 'hid' => nil, 'addr' => nil, 'mac' => nil, 'os' => nil, - 'vulns' => ['vuln' => {'vulnid' => nil, 'port' => nil, 'proto' => nil} ], - 'apps' => ['app' => {'appid' => nil, 'svcid' => nil, 'port' => nil, 'proto' => nil } ], - } - @state = :generic_state + @host = {'hname' => nil, 'hid' => nil, 'addr' => nil, 'mac' => nil, 'os' => nil, + 'vulns' => ['vuln' => {'vulnid' => nil, 'port' => nil, 'proto' => nil} ], + 'apps' => ['app' => {'appid' => nil, 'svcid' => nil, 'port' => nil, 'proto' => nil } ], + } + @state = :generic_state end def tag_start(name, attributes) @@ -83,10 +83,14 @@ class IP360XMLStreamParser # We don't need these methods, but they're necessary to keep REXML happy # - def xmldecl(version, encoding, standalone); end - def comment(str); end - def instruction(name, instruction); end - def attlist; end + def xmldecl(version, encoding, standalone) # :nodoc: + end + def comment(str) # :nodoc: + end + def instruction(name, instruction) # :nodoc: + end + def attlist # :nodoc: + end end end