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

View File

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

View File

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