I have trouble understanding the implementation of the class << object method. class << object is just a syntax sugar or something more?
I can't find the implementation of << inside the ruby source
btw
@archie hey there, not sure if this is the level of information you're looking for (or if you already found this through Google and want a deeper answer), but this is a decent guide to what `class <<` does on the object model: https://medium.com/@leo_hetsch/demystifying-singleton-classes-in-ruby-caf3fa4c9d91

@archie This isn't actually a method on `Class`, but parsed into a node (then converted into an instruction sequence?). You can try looking at it with something like the following below, but it's a NODE_SCLASS if you want to grep ruby.git.

$ ruby --dump=parsetree -e '
class << String
end
'