lib/irb/ext/loader.rb in irb-1.3.3 vs lib/irb/ext/loader.rb in irb-1.3.4

- old
+ new

@@ -36,12 +36,12 @@ File.absolute_path?(path) end 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 when /\A\w:/, /\A#{separator}{2}/ /\A(?:\w:|#{separator})#{separator}/