diff options
Diffstat (limited to 'lib/irb/ext/loader.rb')
-rw-r--r-- | lib/irb/ext/loader.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/ext/loader.rb b/lib/irb/ext/loader.rb index 90dcd70bd0..af028996e7 100644 --- a/lib/irb/ext/loader.rb +++ b/lib/irb/ext/loader.rb @@ -38,9 +38,9 @@ module IRB # :nodoc: else separator = if File::ALT_SEPARATOR - File::SEPARATOR - else "[#{Regexp.quote(File::SEPARATOR + File::ALT_SEPARATOR)}]" + else + File::SEPARATOR end ABSOLUTE_PATH_PATTERN = # :nodoc: case Dir.pwd |