yield_selfこんな使い方もあるのかー。って感心するけど実際のプロジェクトでこの使いかたするかと言われるとうーん

willnetwillnet のブックマーク 2018/02/14 23:28

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

yield_self is more awesome than you could think

    …the name still sucks, tho As you probably have been told, Ruby 2.5 has introduced Kernel#yield_self method, now available in any object. On the first sight, it does nothing fancy: just, as the nam...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう