diary

I like Hatena Star with a text selection.

Entries from 2020-12-17 to 1 day

2020-12-16

module M # M#itself はないけどaliasを定義できる alias itself2 itself end class C < BasicObject include ::M end # C#itself はないけど呼べる C.new.itself2 method = Object.instance_method(:method) pp method.bind_call(C.new, :itself2) # => #<Method: C(Kernel)#itself2(itself)()> m</method:>…