Use a more readable version for setter
This commit is contained in:
parent
1121e96cf7
commit
9af7675bd3
|
@ -30,7 +30,8 @@ module VagrantPlugins
|
|||
|
||||
# Capture the strategy so we can use it later. This will be used in
|
||||
# the block iteration for merging/overwriting
|
||||
strategy = (tuples[0] && tuples[0][0]) || name
|
||||
strategy = name
|
||||
strategy = tuples[0][0] if tuples[0]
|
||||
|
||||
begin
|
||||
tuples.each do |s, b|
|
||||
|
|
Loading…
Reference in New Issue