erb.rb: let's remove constant deprecated at 2.5
(r59497). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
220d2a7182
commit
9006d059f4
@ -515,10 +515,6 @@ class ERB
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user