[ruby-cvs:60134] normal:r52981 (trunk): lib/uri/generic.rb: enable frozen_string_literal

normal at ruby-lang.org normal at ruby-lang.org
Wed Dec 9 06:29:36 JST 2015


normal	2015-12-09 06:28:26 +0900 (Wed, 09 Dec 2015)

  New Revision: 52981

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

  Log:
    lib/uri/generic.rb: enable frozen_string_literal
    
    * lib/uri/generic.rb: enable frozen_string_literal
      (split_userinfo): remove explicit .freeze for string literals
      (check_path): ditto
      (query): ditto
      (fragment): ditto
      (to_s): ditto
      [ruby-core:71910] [Bug #11759]
    
    Patch-by: Colin Kelley <colindkelley at gmail.com>

  Modified files:
    trunk/ChangeLog
    trunk/lib/uri/generic.rb


More information about the ruby-cvs mailing list