Skip to content

Commit 46901fd

Browse files
committed
Make #Pathname a module_function of Kernel like on MRI
1 parent 61e6f4f commit 46901fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/truffle/pathname.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,5 +1072,5 @@ def Pathname(path) # :doc:
10721072
return path if Primitive.class_of(path) == Pathname
10731073
Pathname.new(path)
10741074
end
1075-
private :Pathname # Truffle: private as in MRI
1075+
module_function :Pathname
10761076
end

0 commit comments

Comments
 (0)