Module: Buby::Extender::ExtenderMethods
- Defined in:
- lib/buby/extender.rb
Listeners collapse
- @@handler =
nil
Listeners collapse
-
#handler ⇒ Object
Returns the internal Ruby handler reference.
-
#handler=(hndlr) ⇒ Object
Sets an internal reference to the ruby handler class or module to use for proxied BurpExtender events into a ruby runtime.
Instance Method Details
#handler ⇒ Object
Returns the internal Ruby handler reference.
The handler is the ruby class or module used for proxying BurpExtender events into a ruby runtime. Usually, this is Buby or a subclass.
148 149 150 |
# File 'lib/buby/extender.rb', line 148 def handler @@handler end |
#handler=(hndlr) ⇒ Object
Sets an internal reference to the ruby handler class or module to use for proxied BurpExtender events into a ruby runtime.
Generally, this should probably be called in Buby::Extender#registerExtenderCallbacks. However, it is also possible to set this afterwards and even swap in new objects during runtime.
159 160 161 |
# File 'lib/buby/extender.rb', line 159 def handler=(hndlr) @@handler = hndlr end |