From 02270c3aa9076d05e95515e192c875d62ebd30b0 Mon Sep 17 00:00:00 2001 From: Johan Holmberg Date: Sun, 28 Aug 2011 20:53:32 +0200 Subject: [PATCH] Let "orig_env_path" return a copy of the path, so users of the method can modify the value. --- bin/cmdtest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cmdtest.rb b/bin/cmdtest.rb index f8ed84d..f5b26c4 100755 --- a/bin/cmdtest.rb +++ b/bin/cmdtest.rb @@ -187,7 +187,7 @@ module Cmdtest end def orig_env_path - @orig_env_path + @orig_env_path.dup end def set_env_path(path_arr)