11 lines
218 B
Ruby
11 lines
218 B
Ruby
# -*- ruby encoding: utf-8 -*-
|
|
##
|
|
# 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
|