Class: RubySMB::Dcerpc::Epm::EpmTwrt
- Inherits:
-
Ndr::NdrStruct
- Object
- BinData::Record
- Ndr::NdrStruct
- RubySMB::Dcerpc::Epm::EpmTwrt
- Defined in:
- lib/ruby_smb/dcerpc/epm/epm_twrt.rb
Overview
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Ndr::NdrStruct
#initialize_shared_instance, method_missing, validate_conformant_array
Instance Method Details
#assign(val) ⇒ Object
189 190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/ruby_smb/dcerpc/epm/epm_twrt.rb', line 189 def assign(val) case val when String self.tower_octet_string.assign(val.bytes) when Array self.tower_octet_string.assign(val.to_ary) when EpmDecodedTowerOctetString self.tower_octet_string.assign(val.to_binary_s.bytes) else super end end |