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 | 76a3f0ca2e8800b42d7f95503e68c88926625743 (patch) | |
tree | 86e4ae5baecadc876819a33f6565f4ed76be6f04 /lib | |
parent | 598fd0cd944a2b830adbfa4ba3d8b91af09b85a7 (diff) | |
download | ruby-76a3f0ca2e8800b42d7f95503e68c88926625743.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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/erb.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |