[前][次][番号順一覧][スレッド一覧]

ruby-changes:31586

From: zzak <ko1@a...>
Date: Wed, 13 Nov 2013 17:21:42 +0900 (JST)
Subject: [ruby-changes:31586] zzak:r43665 (trunk): * ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+

zzak	2013-11-13 17:21:36 +0900 (Wed, 13 Nov 2013)

  New Revision: 43665

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43665

  Log:
    * ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/config.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43664)
+++ ChangeLog	(revision 43665)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Nov 13 17:19:36 2013  Zachary Scott  <e@z...>
+
+	* ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+
+
 Wed Nov 13 17:09:45 2013  Zachary Scott  <e@z...>
 
 	* ext/openssl/lib/openssl/*.rb: [DOC] Document the following:
Index: ext/openssl/lib/openssl/config.rb
===================================================================
--- ext/openssl/lib/openssl/config.rb	(revision 43664)
+++ ext/openssl/lib/openssl/config.rb	(revision 43665)
@@ -29,12 +29,12 @@ module OpenSSL https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/config.rb#L29
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]