File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/msf/core/modules/loader Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -372,10 +372,10 @@ def create_namespace_module(namespace_module_names)
372
372
def current_module ( module_names )
373
373
# Don't want to trigger ActiveSupport's const_missing, so can't use constantize.
374
374
named_module = module_names . inject ( Object ) { |parent , module_name |
375
- # Since we're searching parent namespaces first anyway, this is
376
- # semantically equivalent to providing false for the 1.9-only
377
- # "inherit" parameter to const_defined?. If we ever drop 1.8
378
- # support, we can save a few cycles here by adding it back.
375
+ # Since we're searching parent namespaces first anyway, this is
376
+ # semantically equivalent to providing false for the 1.9-only
377
+ # "inherit" parameter to const_defined?. If we ever drop 1.8
378
+ # support, we can save a few cycles here by adding it back.
379
379
if parent . const_defined? ( module_name )
380
380
parent . const_get ( module_name )
381
381
else
You can’t perform that action at this time.
0 commit comments