Make 'cmdtest' work with Ruby 1.9.3 too.
This commit is contained in:
parent
62392a5e16
commit
27f1f3f80f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user