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 /lib | |
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
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 |