language-ruby
language-ruby copied to clipboard
Method 'slash' causes highlighting issues
Hello,
I'm writing some Ruby code that use slash (/) method and it is highlighted as regexp several times.
class A
def /
puts 'ROOT'
self
end
def <
puts 'ANCESTOR'
self
end
end
a = A.new
b = A.new
a./.< == true ? b./.< : b./.<.<

Thanks!