lib/fog/azurerm/requests/storage/copy_blob.rb
Method copy_blob
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def copy_blob(destination_container, destination_blob, source_container, source_blob, options = {})
%w
-literals should be delimited by [
and ]
. Open
Open
%w(abc123 pending)
- Read upRead up
- Exclude checks
This cop enforces the consistent usage of %
-literal delimiters.
Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.
Example:
# Style/PercentLiteralDelimiters:
# PreferredDelimiters:
# default: '[]'
# '%i': '()'
# good
%w[alpha beta] + %i(gamma delta)
# bad
%W(alpha #{beta})
# bad
%I(alpha beta)