ruby-changes:49392
From: k0kubun <ko1@a...>
Date: Thu, 28 Dec 2017 14:07:22 +0900 (JST)
Subject: [ruby-changes:49392] k0kubun:r61508 (trunk): erb.rb: let's remove constant deprecated at 2.5
k0kubun 2017-12-28 14:07:16 +0900 (Thu, 28 Dec 2017) New Revision: 61508 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61508 Log: erb.rb: let's remove constant deprecated at 2.5 (r59497). Modified files: trunk/lib/erb.rb Index: lib/erb.rb =================================================================== --- lib/erb.rb (revision 61507) +++ lib/erb.rb (revision 61508) @@ -515,10 +515,6 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L515 end Scanner.register_scanner(SimpleScanner, nil, false) - # Deprecated. Kept for backward compatibility. - SimpleScanner2 = SimpleScanner # :nodoc: - deprecate_constant :SimpleScanner2 - class ExplicitScanner < Scanner # :nodoc: def scan stag_reg = /(.*?)(^[ \t]*<%-|<%-|#{stags.join('|')}|\z)/m -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/