Add *args to #respond_to?
Technically include_all = false, but *args is lazy mode.bug/bundler_fix
parent
48f72357b5
commit
b28444777f
|
@ -7,6 +7,10 @@ module Msf
|
|||
|
||||
class Plugin::EventTester < Msf::Plugin
|
||||
class Subscriber
|
||||
def respond_to?(name, *args)
|
||||
# Why yes, I can do that.
|
||||
true
|
||||
end
|
||||
def method_missing(name, *args)
|
||||
$stdout.puts("Event fired: #{name}(#{args.join(", ")})")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue