Actions
Bug #18246
closedsend does not work for unary ! operator when operator isn't a literal symbol
Description
1.send(:+, 1) #=> 2
1.send(:"+", 1) #=> 2
1.send(:-@) #=> -1
1.send(:"-@") #=> -1
false.send(:!@) #=> true
false.send(:"!@") #>
# undefined method `!@' for false:FalseClass (NoMethodError)
# Did you mean? !=
!~
Actions
Like0
Like0Like0