Entries from 2021-09-21 to 1 day
C = Struct.new(:foo, keyword_init: true) pp m=C.instance_method(:foo=) # => #<UnboundMethod: C(keyword_init: true)#foo=(_) /tmp/tmp.ZxMbyVAwA1/test.rb:1> pp RubyVM::AbstractSyntaxTree.of(m) # => (CDECL@1:0-1:40 :C (CALL@1:4-1:40 (CONST@1:4-1:10 :Struct) :new (LIST@1:15-1:39 (LIT@1:15-1:19 :foo) (HAS…</unboundmethod:>