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

ruby-changes:31695

From: nobu <ko1@a...>
Date: Fri, 22 Nov 2013 12:17:25 +0900 (JST)
Subject: [ruby-changes:31695] nobu:r43774 (trunk): openssl/buffering.rb: call super

nobu	2013-11-22 12:17:16 +0900 (Fri, 22 Nov 2013)

  New Revision: 43774

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

  Log:
    openssl/buffering.rb: call super
    
    * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#initialize):
      initialize of a module should pass arguments to super.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/buffering.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43773)
+++ ChangeLog	(revision 43774)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Nov 22 12:17:14 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#initialize):
+	  initialize of a module should pass arguments to super.
+
 Fri Nov 22 12:02:58 2013  Tanaka Akira  <akr@f...>
 
 	* test/ruby/test_settracefunc.rb: Ignore events from other threads.
Index: ext/openssl/lib/openssl/buffering.rb
===================================================================
--- ext/openssl/lib/openssl/buffering.rb	(revision 43773)
+++ ext/openssl/lib/openssl/buffering.rb	(revision 43774)
@@ -40,7 +40,8 @@ module OpenSSL::Buffering https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/buffering.rb#L40
   ##
   # Creates an instance of OpenSSL's buffering IO module.
 
-  def initialize
+  def initialize(*)
+    super
     @eof = false
     @rbuffer = ""
     @sync = @io.sync

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

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