We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
o
1 parent dc10c92 commit a12914bCopy full SHA for a12914b
pathname_builtin.rb
@@ -36,9 +36,9 @@ class Pathname
36
end
37
38
if File.dirname('A:') == 'A:.' # DOSish drive letter
39
- ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/o
+ ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/
40
else
41
- ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/o
+ ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/
42
43
private_constant :ABSOLUTE_PATH
44
0 commit comments