1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Silence warning regarding splat operator

This commit is contained in:
James Herdman 2012-05-14 14:45:03 -04:00
parent b71ff66522
commit aa493ed564

View file

@ -61,7 +61,7 @@ module Fog
def convert_vm_mob_ref_to_attr_hash(vm_mob_ref)
return nil unless vm_mob_ref
props = vm_mob_ref.collect! *ATTR_TO_PROP.values.uniq
props = vm_mob_ref.collect!(*ATTR_TO_PROP.values.uniq)
# NOTE: Object.tap is in 1.8.7 and later.
# Here we create the hash object that this method returns, but first we need
# to add a few more attributes that require additional calls to the vSphere