Use a more readable version for setter

This commit is contained in:
Seth Vargo 2014-10-24 19:50:52 -04:00
parent 1121e96cf7
commit 9af7675bd3
1 changed files with 2 additions and 1 deletions

View File

@ -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|