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