File: C:/Ruby27-x64/share/ri/2.7.0/system/OpenSSL/Config/to_s-i.ri
U:RDoc::AnyMethod[iI" to_s:ETI"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