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
-
#to_ber ⇒ Object
Converts
trueto the BER wireline representation oftrue.
Instance Method Details
#to_ber ⇒ Object
Converts true to the BER wireline representation of true.
7 8 9 10 |
# File 'lib/net/ber/core_ext/true_class.rb', line 7 def to_ber # http://tools.ietf.org/html/rfc4511#section-5.1 "\001\001\xFF".force_encoding("ASCII-8BIT") end |