ruby-changes:47382
From: kazu <ko1@a...>
Date: Fri, 4 Aug 2017 21:00:07 +0900 (JST)
Subject: [ruby-changes:47382] kazu:r59498 (trunk): Use `register_scanner` instead of `regist_scanner`
kazu 2017-08-04 20:59:59 +0900 (Fri, 04 Aug 2017) New Revision: 59498 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59498 Log: Use `register_scanner` instead of `regist_scanner` Modified files: trunk/lib/erb.rb Index: lib/erb.rb =================================================================== --- lib/erb.rb (revision 59497) +++ lib/erb.rb (revision 59498) @@ -517,7 +517,7 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L517 end end end - Scanner.regist_scanner(SimpleScanner, nil, false) + Scanner.register_scanner(SimpleScanner, nil, false) # Deprecated. Kept for backward compatibility. SimpleScanner2 = SimpleScanner # :nodoc: @@ -544,7 +544,7 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L544 end end end - Scanner.regist_scanner(ExplicitScanner, '-', false) + Scanner.register_scanner(ExplicitScanner, '-', false) end class Buffer # :nodoc: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/