Skip to content

Commit 806f2d3

Browse files
committed
[ruby/pathname] [DOC] Pathname#freeze
ruby/pathname@4580540a2b
1 parent f2b250c commit 806f2d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pathname_builtin.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ def initialize(path)
215215
@path = File.path(path).dup
216216
end
217217

218+
#
219+
# Freze self.
220+
#
218221
def freeze
219222
super
220223
@path.freeze

0 commit comments

Comments
 (0)