Reputation: 14050
Is it possible to overload ! operator in Ruby language?
Upvotes: 1
Views: 345
Reputation: 12027
yes, you can overload this ! in Ruby 1.9, see here http://phrogz.net/programmingruby/language.html#table_18.4 , in this url they had given what are the operators, which are overloaded in Ruby
Upvotes: 3