diff options
author | zzak <zzak@ruby-lang.org> | 2013-11-13 08:21:36 +0000 |
---|---|---|
committer | zzak <zzak@ruby-lang.org> | 2013-11-13 08:21:36 +0000 |
commit | 525cfb056f9fee441065054455ad0be45b09d31d (patch) | |
tree | 05c638612ecff958445d2a2da108ff8da2eb90d0 /lib/openssl | |
parent | ea2738401af6191182f388ccde1581e7c83c14fa (diff) | |
download | ruby-openssl-history-525cfb056f9fee441065054455ad0be45b09d31d.tar.gz |
* ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/openssl')
-rw-r--r-- | lib/openssl/config.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/openssl/config.rb b/lib/openssl/config.rb index 9f5c6af..5716d59 100644 --- a/lib/openssl/config.rb +++ b/lib/openssl/config.rb @@ -29,12 +29,12 @@ module OpenSSL class << self ## - # Parses a given +str+ as a blob that contains configuration for openssl. + # Parses a given +string+ as a blob that contains configuration for openssl. # # If the source of the IO is a file, then consider using #parse_config. - def parse(str) + def parse(string) c = new() - parse_config(StringIO.new(str)).each do |section, hash| + parse_config(StringIO.new(string)).each do |section, hash| c[section] = hash end c |