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

ruby-changes:44165

From: nobu <ko1@a...>
Date: Sun, 25 Sep 2016 22:48:13 +0900 (JST)
Subject: [ruby-changes:44165] nobu:r56238 (trunk): remove unnecessary :stag accessor

nobu	2016-09-25 22:48:08 +0900 (Sun, 25 Sep 2016)

  New Revision: 56238

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56238

  Log:
    remove unnecessary :stag accessor
    
    * lib/erb.rb (ERB::Compiler::TrimScanner#stag): The :stag accessor
      has already been available because it is defined in parent
      Scanner class.  [Fix GH-1445]

  Modified files:
    trunk/ChangeLog
    trunk/lib/erb.rb
Index: lib/erb.rb
===================================================================
--- lib/erb.rb	(revision 56237)
+++ lib/erb.rb	(revision 56238)
@@ -399,7 +399,6 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L399
           @scan_line = self.method(:scan_line)
         end
       end
-      attr_accessor :stag
 
       def scan(&block)
         @stag = nil
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56237)
+++ ChangeLog	(revision 56238)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Sep 25 22:48:06 2016  namusyaka  <namusyaka@g...>
+
+	* lib/erb.rb (ERB::Compiler::TrimScanner#stag): The :stag accessor
+	  has already been available because it is defined in parent
+	  Scanner class.  [Fix GH-1445]
+
 Sun Sep 25 19:21:26 2016  Kazuki Tsujimoto  <kazuki@c...>
 
 	* node.c (dump_array): remove duplicate header of NODE_ARRAY/

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

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