Use tap command for better readability

This commit is contained in:
João Cunha 2019-03-06 11:45:27 +00:00
parent 3bdff7aadf
commit 70e443014a
1 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@ module Clusters
end end
def update_command def update_command
command = install_command install_command.tap do |command|
command.version = version command.version = version
command end
end end
end end
end end