Method: Rex::Exploitation::Powershell::Function#initialize
- Defined in:
- lib/rex/exploitation/powershell/function.rb
#initialize(name, code) ⇒ Function
Returns a new instance of Function.
15 16 17 18 19 |
# File 'lib/rex/exploitation/powershell/function.rb', line 15 def initialize(name, code) @name = name @code = code populate_params end |