Miscellaneous updates to appease Rubocop

This commit is contained in:
Brandon Robins
2018-01-04 00:29:51 -06:00
parent 45ec304b26
commit 96116543d3
5 changed files with 28 additions and 16 deletions

View File

@@ -1,7 +1,13 @@
# frozen_string_literal: true
module ActionDispatch
module Integration
module RequestHelpers
%w[copy move mkcol options propfind proppatch lock unlock].each do |method|
request_methods = %w[
copy move mkcol options propfind proppatch lock unlock
]
request_methods.each do |method|
define_method method do |path, **args|
process method.to_sym, path, **args
end