summaryrefslogtreecommitdiff
path: root/lib/erb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/erb.rb')
-rw-r--r--lib/erb.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index ff30621041..878b494231 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -521,6 +521,7 @@ class ERB
# Deprecated. Kept for backward compatibility.
SimpleScanner2 = SimpleScanner # :nodoc:
+ deprecate_constant :SimpleScanner2
class ExplicitScanner < Scanner # :nodoc:
def scan