Why does this function 'expect one' argument?
def resolve(name, **args)
....
end
resolve(:test, foo: 123, bar: 456)
ArgumentError:
wrong number of arguments (given 2, expected 1)
Why does this function 'expect one' argument?
def resolve(name, **args)
....
end
resolve(:test, foo: 123, bar: 456)
ArgumentError:
wrong number of arguments (given 2, expected 1)