[ruby-cvs:69778] k0kubun:r62612 (trunk): erb.rb: relax warn level of ERB.new

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Wed Feb 28 21:12:20 JST 2018


k0kubun	2018-02-28 21:12:20 +0900 (Wed, 28 Feb 2018)

  New Revision: 62612

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62612

  Log:
    erb.rb: relax warn level of ERB.new
    
    I changed my mind and thought branching ERB.new in all libraries is too
    hard. Code becomes too ugly. I increased the warn level to 2, and the
    old initializer will be removed when Ruby 2.5 becomes EOL.
    -S option of erb(1) stays in the same policy: will be removed at Ruby 2.7.
    
    NEWS: note about the direction

  Modified files:
    trunk/NEWS
    trunk/lib/erb.rb


More information about the ruby-cvs mailing list