Can I reference a lambda from within itself using Ruby?

后端 未结 4 1135
借酒劲吻你
借酒劲吻你 2020-12-28 16:42

I want to be able to call an anonymous lambda from within itself using Ruby. Consider the following recursive block (returns a factorial). I know I can assign it to a variab

4条回答
提交回复
热议问题