Class: BurpExtender::MenuItem Private

Inherits:
Java::JavaAwt::MenuItem
  • Object
show all
Defined in:
lib/buby/burp_extender/menu_item.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(text, burp_extender, &block) ⇒ MenuItem

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 MenuItem.



5
6
7
8
9
10
# File 'lib/buby/burp_extender/menu_item.rb', line 5

def initialize text, burp_extender, &block
  super text
  @burp = burp_extender

  addActionListener &block
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.



4
5
6
# File 'lib/buby/burp_extender/menu_item.rb', line 4

def burp
  @burp
end