Duck-typing with #to_proc
One of the greatest Ruby mysteries for me has always been the idiomatic Symbol#to_proc which is usually used to cast a symbol to a block usually passed to some enumerator. In this post we explore what other powerful uses and potential #to_proc has
Post a comment