lib/aruba/api/core.rb in aruba-1.0.0.pre.alpha.1 vs lib/aruba/api/core.rb in aruba-1.0.0.pre.alpha.2
- old
+ new
@@ -59,10 +59,10 @@
old_dir = Aruba.platform.getwd
Aruba.platform.chdir File.join(aruba.root_directory, aruba.current_directory)
- result = Aruba.platform.with_environment(
+ result = with_environment(
'OLDPWD' => old_dir,
'PWD' => File.expand_path(File.join(aruba.root_directory, aruba.current_directory)),
&block
)
ensure