ruby-changes:47381
From: kazu <ko1@a...>
Date: Fri, 4 Aug 2017 21:00:07 +0900 (JST)
Subject: [ruby-changes:47381] kazu:r59497 (trunk): Add deprecated warning to ERB::Compiler::SimpleScanner2
kazu 2017-08-04 20:59:57 +0900 (Fri, 04 Aug 2017) New Revision: 59497 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59497 Log: Add deprecated warning to ERB::Compiler::SimpleScanner2 Modified files: trunk/lib/erb.rb Index: lib/erb.rb =================================================================== --- lib/erb.rb (revision 59496) +++ lib/erb.rb (revision 59497) @@ -521,6 +521,7 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L521 # Deprecated. Kept for backward compatibility. SimpleScanner2 = SimpleScanner # :nodoc: + deprecate_constant :SimpleScanner2 class ExplicitScanner < Scanner # :nodoc: def scan -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/