Module: Net::BER::Extensions::TrueClass

Included in:
TrueClass
Defined in:
lib/net/ber/core_ext/true_class.rb

Overview

BER extensions to true.

Instance Method Summary collapse

Instance Method Details

#to_berObject

Converts true to the BER wireline representation of true.



7
8
9
10
11
# File 'lib/net/ber/core_ext/true_class.rb', line 7

def to_ber
  # 20100319 AZ: Note that this may not be the completely correct value,
  # per some test documentation. We need to determine the truth of this.
  "\001\001\001"
end