summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-04 13:05:32 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-04 13:05:32 +0000
commit7ab70c3548d26dd7806be86d326fb99a3e7ceef7 (patch)
tree35aa9c88a7a7bda43ab20261a67d8cb173136036 /ext/pathname
parent53672aa9a6e543be871f256806afd9b9ad81636b (diff)
* 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.rb1
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
#