1- # NET::BER
2- # Mixes ASN.1/BER convenience methods into several standard classes. Also
3- # provides BER parsing functionality.
4- #
5- #--
6- # Copyright (C) 2006 by Francis Cianfrocca and other contributors. All
7- # Rights Reserved.
8- #
9- # Gmail: garbagecat10
10- #
11- # This program is free software; you can redistribute it and/or modify
12- # it under the terms of the GNU General Public License as published by
13- # the Free Software Foundation; either version 2 of the License, or
14- # (at your option) any later version.
15- #
16- # This program is distributed in the hope that it will be useful,
17- # but WITHOUT ANY WARRANTY; without even the implied warranty of
18- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19- # GNU General Public License for more details.
20- #
21- # You should have received a copy of the GNU General Public License
22- # along with this program; if not, write to the Free Software
23- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24- #++
25-
261require 'net/ber/ber_parser'
2+ # :stopdoc:
273class IO
284 include Net ::BER ::BERParser
295end
@@ -37,36 +13,49 @@ class OpenSSL::SSL::SSLSocket
3713 include Net ::BER ::BERParser
3814 end
3915end
16+ # :startdoc:
4017
41- module Net ::BER ::Extensions ; end
18+ module Net ::BER ::Extensions # :nodoc:
19+ end
4220
4321require 'net/ber/core_ext/string'
22+ # :stopdoc:
4423class String
4524 include Net ::BER ::BERParser
4625 include Net ::BER ::Extensions ::String
4726end
4827
4928require 'net/ber/core_ext/array'
50- class Array
29+ # :stopdoc:
30+ class Array
5131 include Net ::BER ::Extensions ::Array
5232end
33+ # :startdoc:
5334
5435require 'net/ber/core_ext/bignum'
55- class Bignum
36+ # :stopdoc:
37+ class Bignum
5638 include Net ::BER ::Extensions ::Bignum
5739end
40+ # :startdoc:
5841
5942require 'net/ber/core_ext/fixnum'
60- class Fixnum
43+ # :stopdoc:
44+ class Fixnum
6145 include Net ::BER ::Extensions ::Fixnum
6246end
47+ # :startdoc:
6348
6449require 'net/ber/core_ext/true_class'
65- class TrueClass
50+ # :stopdoc:
51+ class TrueClass
6652 include Net ::BER ::Extensions ::TrueClass
6753end
54+ # :startdoc:
6855
6956require 'net/ber/core_ext/false_class'
70- class FalseClass
57+ # :stopdoc:
58+ class FalseClass
7159 include Net ::BER ::Extensions ::FalseClass
7260end
61+ # :startdoc:
0 commit comments