From 7ab70c3548d26dd7806be86d326fb99a3e7ceef7 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 4 Oct 2015 13:05:32 +0000 Subject: * ext/pathname/lib/pathname.rb: freeze string literals for reduced object allocation. patch by schneems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pathname/lib/pathname.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/pathname/lib') diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 9f23ba502e..85588663f8 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -1,3 +1,4 @@ +# -*- frozen_string_literal: true -*- # # = pathname.rb # -- cgit v1.2.3