[ruby-cvs:68592] nobu:r61411 (trunk): erb.rb: shadow by keys

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Dec 22 17:08:31 JST 2017


nobu	2017-12-22 17:08:31 +0900 (Fri, 22 Dec 2017)

  New Revision: 61411

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

  Log:
    erb.rb: shadow by keys
    
    * lib/erb.rb (ERB#new_toplevel): shadow already defined local
      variables by block local variabes, not to overwrite them.
      [ruby-core:84390] [Bug #14215]

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


More information about the ruby-cvs mailing list