nabinnonabinno のブックマーク 2018/01/13 01:11

その他

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

Can you supply arguments to the map(&:method) syntax in Ruby?

    You can create a simple patch on Symbol like this: class Symbol def with(*args, &block) ->(caller, *rest) { caller.send(self, *rest, *args, &block) } end end Which will enable you to do not only th...

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

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