mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
L #-: Use newer argument forwarding syntax
(cherry picked from commit ca4645f30026403cbe4d8af6a61d10ba158c427b)
This commit is contained in:
parent
ef4020d4ef
commit
fbe5aa9941
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user