Class: BurpExtender::ContextMenuFactory Private

Inherits:
Object
  • Object
show all
Includes:
Java::Burp::IContextMenuFactory
Defined in:
lib/buby/burp_extender/context_menu_factory.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(burp_extender) ⇒ ContextMenuFactory

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ContextMenuFactory.



8
9
10
# File 'lib/buby/burp_extender/context_menu_factory.rb', line 8

def initialize burp_extender
  @burp = burp_extender
end

Instance Attribute Details

#burpObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



6
7
8
# File 'lib/buby/burp_extender/context_menu_factory.rb', line 6

def burp
  @burp
end

Instance Method Details

#createMenuItems(invocation) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
15
# File 'lib/buby/burp_extender/context_menu_factory.rb', line 12

def createMenuItems invocation
  pp [:createMenuItems, invocation] if $DEBUG
  [BurpExtender::ContextMenu.new(@burp, invocation)]
end