> > Is it possible to use -> as a method name in Ruby? > > > > > No. A subset of Ruby's operators are implemented as methods. '>>' is one > of those operators. '->' isn't a Ruby operator at all. > > The operators that are implemented as methods are: [], []=, **, !, ~, +, > -, *, /, %, <<, >>,& ^, |, <=>, <=, <, >, >=, ==, ===, and =~. > So is there no way to make '->' an operator and define its behavior? If not, what about '=>'?