[ruby-cvs:60843] nobu:r53682 (trunk): erb.rb: frozen-string-literal safe

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jan 29 11:14:36 JST 2016


nobu	2016-01-29 11:14:36 +0900 (Fri, 29 Jan 2016)

  New Revision: 53682

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

  Log:
    erb.rb: frozen-string-literal safe
    
    * lib/erb.rb (ERB#set_eoutvar): explicitly make mutable string as
      a buffer to make ERB work with --enable-frozen-string-literal.
      [ruby-core:73561] [Bug #12031]

  Modified files:
    trunk/ChangeLog
    trunk/lib/erb.rb
    trunk/test/erb/test_erb.rb


More information about the ruby-cvs mailing list