Class: Msf::Plugin::EventTester::Subscriber
- Inherits:
-
Object
- Object
- Msf::Plugin::EventTester::Subscriber
- Defined in:
- plugins/event_tester.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
permalink #method_missing(name, *args) ⇒ Object
[View source] [View on GitHub]
9 10 11 |
# File 'plugins/event_tester.rb', line 9 def method_missing(name, *args) $stdout.puts("Event fired: #{name}(#{args.join(', ')})") end |
Instance Method Details
permalink #respond_to?(_name, *_args) ⇒ Boolean
4 5 6 7 |
# File 'plugins/event_tester.rb', line 4 def respond_to?(_name, *_args) # Why yes, I can do that. true end |