Support ruby `class << self`
catlee opened this issue · 2 comments
catlee commented
When I type class << self
in ruby, I would like endwise to add the closing end
statement like it does for regular class definitions.
RRethy commented
Not sure what happened here, I remember adding singleton_class
queries a while back for this but I don't see them anywhere in the git history 😕
catlee commented
awesome, thanks!
I wasn't sure if this was going to be possible since the treesitter playground was just showing me a single self
node for class << self