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:
parent
81bdee74d6
commit
ca4645f300
@ -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…
Reference in New Issue
Block a user