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
This commit is contained in:
nobu 2016-09-25 13:48:08 +00:00
Родитель 598fd0cd94
Коммит 76a3f0ca2e
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

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

Просмотреть файл

@ -399,7 +399,6 @@ class ERB
@scan_line = self.method(:scan_line)
end
end
attr_accessor :stag
def scan(&block)
@stag = nil