use class instance variables instead of class variables
This commit is contained in:
1 parent
34beda844e
commit
3b8910075a
2 files changed
+10
-10
No files matched your search
+3
-3
@@ -91,7 +91,7 @@ module Rscons
|
||||
#
|
||||
# @return [Array<String>] The shell and flag.
|
||||
def get_system_shell
|
||||
@@shell ||=
|
||||
@shell ||=
|
||||
begin
|
||||
test_shell = lambda do |*args|
|
||||
begin
|
||||
@@ -124,7 +124,7 @@ module Rscons
|
||||
#
|
||||
# @return [Array<String>] Command used to execute commands.
|
||||
def command_executer
|
||||
@@command_executer ||=
|
||||
@command_executer ||=
|
||||
if Object.const_get("RUBY_PLATFORM") =~ /mingw/
|
||||
if ENV.keys.find {|key| key =~ /MSYS/}
|
||||
begin
|
||||
@@ -143,7 +143,7 @@ module Rscons
|
||||
#
|
||||
# @return [Array<String>] Command used to execute commands.
|
||||
def command_executer=(val)
|
||||
@@command_executer = val
|
||||
@command_executer = val
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user