This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
Ruby syntax incorrectly colors (AND GITHUB!!) public in self.public even though it's valid (at least in interpreter and works in my code) to have a method named public.
- Build 4113
- Montery 12.0 Beta (21A5304g)
public is a perfectly valid method name in Ruby so self.public should be colored like any other method name but is instead colored as if public is a keyword. See the highlighting immediately below.
def foo
self.public && self.public_changed?
end