ruby-net-ldap/lib/net/ber/core_ext/false_class.rb

10 lines
187 B
Ruby

##
# BER extensions to +false+.
module Net::BER::Extensions::FalseClass
##
# Converts +false+ to the BER wireline representation of +false+.
def to_ber
"\001\001\000"
end
end