Ruby: method names ending with : (colon)?

Posted by marienbad on Stack Overflow See other posts from Stack Overflow or by marienbad
Published on 2010-05-27T18:54:22Z Indexed on 2010/05/27 19:01 UTC
Read the original article Hit count: 185

Filed under:
|
|

An odd question:

Just wondering if it is possible by some loophole to define a method name that ends in a colon. The purpose being things like this:

mymethod: arg1,arg2,arg3

© Stack Overflow or respective owner

Related posts about ruby

Related posts about syntax