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

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

Instance Method Summary collapse

Instance Method Details

#to_berObject

Converts true to the BER wireline representation of true.



4
5
6
7
8
# File 'lib/net/ber/core_ext/true_class.rb', line 4

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