RubyMine code inspection gives incorrect "Missing 1 argument(s)"

I have an array 'foo' that's returned by a method call.

RM code inspection thinks that '' is a call into Kernel, not into Array, and gives an error: Missing 1 argument(s).

Is there a way to avoid this, other than suppressing that check?


1 comment


sorry for the delay. I didn't manage to reproduce the problem so could you please provide a code sample showing it.


Please sign in to leave a comment.