Move autoloads into OptionContainer
This seems like a better place for them to livebug/bundler_fix
parent
d7fc9294f0
commit
d67f7a21d9
|
@ -5,19 +5,6 @@ require 'rex/socket'
|
||||||
|
|
||||||
module Msf
|
module Msf
|
||||||
|
|
||||||
autoload :Opt, 'msf/core/opt'
|
|
||||||
|
|
||||||
autoload :OptAddress, 'msf/core/opt_address'
|
|
||||||
autoload :OptAddressRange, 'msf/core/opt_address_range'
|
|
||||||
autoload :OptBool, 'msf/core/opt_bool'
|
|
||||||
autoload :OptEnum, 'msf/core/opt_enum'
|
|
||||||
autoload :OptInt, 'msf/core/opt_int'
|
|
||||||
autoload :OptPath, 'msf/core/opt_path'
|
|
||||||
autoload :OptPort, 'msf/core/opt_port'
|
|
||||||
autoload :OptRaw, 'msf/core/opt_raw'
|
|
||||||
autoload :OptRegexp, 'msf/core/opt_regexp'
|
|
||||||
autoload :OptString, 'msf/core/opt_string'
|
|
||||||
|
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
# The base class for all options.
|
# The base class for all options.
|
||||||
|
|
|
@ -1,7 +1,21 @@
|
||||||
# -*- coding: binary -*-
|
# -*- coding: binary -*-
|
||||||
|
|
||||||
module Msf
|
module Msf
|
||||||
require 'msf/core/opt_base'
|
|
||||||
|
autoload :Opt, 'msf/core/opt'
|
||||||
|
|
||||||
|
autoload :OptBase, 'msf/core/opt_base'
|
||||||
|
|
||||||
|
autoload :OptAddress, 'msf/core/opt_address'
|
||||||
|
autoload :OptAddressRange, 'msf/core/opt_address_range'
|
||||||
|
autoload :OptBool, 'msf/core/opt_bool'
|
||||||
|
autoload :OptEnum, 'msf/core/opt_enum'
|
||||||
|
autoload :OptInt, 'msf/core/opt_int'
|
||||||
|
autoload :OptPath, 'msf/core/opt_path'
|
||||||
|
autoload :OptPort, 'msf/core/opt_port'
|
||||||
|
autoload :OptRaw, 'msf/core/opt_raw'
|
||||||
|
autoload :OptRegexp, 'msf/core/opt_regexp'
|
||||||
|
autoload :OptString, 'msf/core/opt_string'
|
||||||
|
|
||||||
#
|
#
|
||||||
# The options purpose in life is to associate named options with arbitrary
|
# The options purpose in life is to associate named options with arbitrary
|
||||||
|
|
Loading…
Reference in New Issue