stdlib/uri.rb
Method decode_www_form
has 38 lines of code (exceeds 30 allowed). Consider refactoring. Open
Open
def self.decode_www_form(str, enc = undefined, separator: '&', use__charset_: false, isindex: false)
raise ArgumentError, "the input of #{name}.#{__method__} must be ASCII only string" unless str.ascii_only?
%x{
var ary = [], key, val;