Class: PacketGen::Plugin::NTLM::ArrayOfAvPair
- Inherits:
-
Types::Array
- Object
- Types::Array
- PacketGen::Plugin::NTLM::ArrayOfAvPair
- Defined in:
- lib/packetgen/plugin/ntlm/av_pair.rb
Overview
Specialized array containing AvPairs.
Instance Method Summary collapse
- #to_s ⇒ String
-
#unicode ⇒ Boolean
(also: #unicode?)
Get unicode property.
-
#unicode=(unicode) ⇒ Boolean
Set unicode property.
Instance Method Details
#to_s ⇒ String
82 83 84 85 |
# File 'lib/packetgen/plugin/ntlm/av_pair.rb', line 82 def to_s self.unicode = unicode super end |
#unicode ⇒ Boolean Also known as: unicode?
Get unicode property
67 68 69 |
# File 'lib/packetgen/plugin/ntlm/av_pair.rb', line 67 def unicode @unicode end |
#unicode=(unicode) ⇒ Boolean
Set unicode property
75 76 77 78 79 |
# File 'lib/packetgen/plugin/ntlm/av_pair.rb', line 75 def unicode=(unicode) @unicode = unicode each { |avpair| avpair.value.unicode = unicode if avpair.value.respond_to? :unicode= } unicode end |