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
|
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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user