diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-04 13:05:32 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-04 13:05:32 +0000 |
commit | 6f96c5d6729ea104f0b073dff3883761e71c5ae4 (patch) | |
tree | 35aa9c88a7a7bda43ab20261a67d8cb173136036 /ext/pathname | |
parent | ae330859db6382f95b7a09a074277b9d2ffc1125 (diff) | |
download | ruby-6f96c5d6729ea104f0b073dff3883761e71c5ae4.tar.gz |
* 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
Diffstat (limited to 'ext/pathname')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 # |