mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-31 17:17:40 +03:00
Old ruby (#2902)
* Revert "L #-: Use newer argument forwarding syntax"
This reverts commit ca4645f300
.
* L #-: Disable Style/ArgumentsForw. due older ruby
This commit is contained in:
parent
eccebc4c00
commit
75ecbae407
@ -732,7 +732,7 @@ Style/UnpackFirst:
|
||||
Enabled: False
|
||||
|
||||
Style/ArgumentsForwarding:
|
||||
Enabled: true
|
||||
Enabled: False
|
||||
|
||||
Style/CollectionCompact:
|
||||
Enabled: true
|
||||
|
@ -102,10 +102,10 @@ module OpenNebula
|
||||
@one_pool.to_json
|
||||
end
|
||||
|
||||
def each(...)
|
||||
def each(&block)
|
||||
return if @one_pool.nil?
|
||||
|
||||
@one_pool.each(...)
|
||||
@one_pool.each(&block)
|
||||
end
|
||||
|
||||
# Iterates over pool pages
|
||||
|
Loading…
Reference in New Issue
Block a user