Make 'cmdtest' work with Ruby 1.9.3 too.

This commit is contained in:
Johan Holmberg 2011-10-30 20:33:16 +01:00
parent 62392a5e16
commit 27f1f3f80f
2 changed files with 2 additions and 2 deletions

@ -183,7 +183,7 @@ module Cmdtest
end
def _path_separator
Config::CONFIG["PATH_SEPARATOR"] || ":"
RbConfig::CONFIG["PATH_SEPARATOR"] || ":"
end
def orig_env_path

@ -126,7 +126,7 @@ module Cmdtest
end
def _method_key(file, klass, method)
file + ":" + klass + "." + method
file + ":" + klass + "." + method.to_s
end
end