Warnings from URI::escape (obsolete since ruby 1.9.2) and some instance variables not initialized fixed

This commit is contained in:
Erwan
2012-10-23 16:36:57 +02:00
parent ddeb288171
commit d438f37f57
4 changed files with 13 additions and 2 deletions

View File

@@ -45,7 +45,9 @@ class WpscanOptions
attr_accessor *ACCESSOR_OPTIONS
def initialize
ACCESSOR_OPTIONS.each do |option|
instance_variable_set("@#{option}", nil)
end
end
def url=(url)