1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add deprecated warning to ERB::Compiler::SimpleScanner2

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-08-04 11:59:57 +00:00
parent 2b770b4674
commit 3b1987fb79

View file

@ -521,6 +521,7 @@ class ERB
# Deprecated. Kept for backward compatibility.
SimpleScanner2 = SimpleScanner # :nodoc:
deprecate_constant :SimpleScanner2
class ExplicitScanner < Scanner # :nodoc:
def scan