diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-25 13:48:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-25 13:48:08 +0000 |
commit | f20ffb529f717de5b63696709a0f4eccc46f6fa2 (patch) | |
tree | 86e4ae5baecadc876819a33f6565f4ed76be6f04 | |
parent | 37982d920dc818e7840f620d26d5bcbce7074c1b (diff) | |
download | ruby-f20ffb529f717de5b63696709a0f4eccc46f6fa2.tar.gz |
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/erb.rb | 1 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Sun Sep 25 22:48:06 2016 namusyaka <namusyaka@gmail.com> + + * 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@callcc.net> * node.c (dump_array): remove duplicate header of NODE_ARRAY/ diff --git a/lib/erb.rb b/lib/erb.rb index af5a4bac9c..7f9ec11b85 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -399,7 +399,6 @@ class ERB @scan_line = self.method(:scan_line) end end - attr_accessor :stag def scan(&block) @stag = nil |