Sha256: 48e1e326e451daff746e313d041dbf247d7845f4f9be49d5471e456e783d9199
Contents?: true
Size: 341 Bytes
Versions: 106
Compression:
Stored size: 341 Bytes
Contents
# -*- coding: binary -*- module Rex 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
Version data entries
106 entries across 106 versions & 2 rubygems