Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/OpenSSL/Config/to_s-i.ri
Arrière
U:RDoc::AnyMethod[iI" to_s:EFI"OpenSSL::Config#to_s;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"7Get the parsable form of the current configuration;To:RDoc::Markup::BlankLine o; ; [I"5Given the following configuration being created:;T@o:RDoc::Markup::Verbatim; [ I""config = OpenSSL::Config.new ;TI"* #=> #<OpenSSL::Config sections=[]> ;TI"5config['default'] = {"foo"=>"bar","baz"=>"buz"} ;TI"( #=> {"foo"=>"bar", "baz"=>"buz"} ;TI"puts config.to_s ;TI" #=> [ default ] ;TI" # foo=bar ;TI" # baz=buz ;T:@format0o; ; [I"OYou can parse get the serialized configuration using #to_s and then parse ;TI"it later:;T@o;; [ I"%serialized_config = config.to_s ;TI"# much later... ;TI";new_config = OpenSSL::Config.parse(serialized_config) ;TI"3 #=> #<OpenSSL::Config sections=["default"]> ;TI"puts new_config ;TI" #=> [ default ] ;TI" foo=bar ;TI" baz=buz;T; 0: @fileI"&ext/openssl/lib/openssl/config.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@*FI"Config;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages