Ruby: Is there a way to find out array-index of sub-array [[],[] <- index(), []]

前端 未结 0 442
花落未央
花落未央 2021-01-05 20:48

I have a variable @current_alternative and I would like to get the index of that sub-array relative to the depth-level directly above.

like when the arra

相关标签:
回答
  • 消灭零回复
提交回复
热议问题