diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 8bdb73f439..ed7d8c791b 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -14,6 +14,8 @@ require 'pathname.so' class Pathname + # :stopdoc: + # to_path is implemented so Pathname objects are usable with File.open, etc. TO_PATH = :to_path