U:RDoc::AnyMethod[iI"[]=:EFI"OpenSSL::Config#[]=;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"7Sets a specific +section+ name with a Hash +pairs+;To:RDoc::Markup::BlankLineo; ; [I"5Given the following configuration being created:;T@o:RDoc::Markup::Verbatim; [ I""config = OpenSSL::Config.new ;TI"* #=> # ;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"MIt's important to note that this will essentially merge any of the keys ;TI"9in +pairs+ with the existing +section+. For example:;T@o; ; [ I"config['default'] ;TI"( #=> {"foo"=>"bar", "baz"=>"buz"} ;TI".config['default'] = {"foo" => "changed"} ;TI" #=> {"foo"=>"changed"} ;TI"config['default'] ;TI"+ #=> {"foo"=>"changed", "baz"=>"buz"};T; 0: @fileI"&ext/openssl/lib/openssl/config.rb;T:0@omit_headings_from_table_of_contents_below000[I"(section, pairs);T@(FI" Config;TcRDoc::NormalClass00