Sha256: a9f5e08c03e17527933e393460f9a55a1dbdc56003d2425a253c9fe6a3fd7232
Contents?: true
Size: 365 Bytes
Versions: 9
Compression:
Stored size: 365 Bytes
Contents
# -*- coding: binary -*- module Rex module Exploitation module Powershell class Param attr_accessor :klass, :name def initialize(klass, name) @klass = klass.strip @name = name.strip.gsub(/\s|,/, '') end # # To String # # @return [String] Powershell param def to_s "[#{klass}]$#{name}" end end end end end
Version data entries
9 entries across 9 versions & 3 rubygems