1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-07 17:17:41 +03:00

L #-: Use newer argument forwarding syntax

This commit is contained in:
Tino Vázquez 2024-01-17 16:22:51 +01:00
parent 81bdee74d6
commit ca4645f300
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -102,10 +102,10 @@ module OpenNebula
@one_pool.to_json
end
def each(&block)
def each(...)
return if @one_pool.nil?
@one_pool.each(&block)
@one_pool.each(...)
end
# Iterates over pool pages