From: Austin Ziegler Date: 2011-01-19T22:56:32+09:00 Subject: [ruby-core:34607] Re: [Ruby 1.9-Feature#4288][Open] Allow invoking arbitrary method names with foo."something" syntax On Tue, Jan 18, 2011 at 12:51 AM, Charles Nutter wrote: > This is one Groovy feature I tend to like. [�] > This syntax would make it easier to integrate with other languages that have different > naming rules. For example, =!@+= is a valid operator in Scala. With this syntax, you > could invoke it as > > foo."=!@+=" bar How does one define this sort of named method, or is it something that we declare must be handled in method_missing (or an equivalent for JRuby/Scala, for example) if it's not an otherwise legal Ruby method name? -austin -- Austin Ziegler � halostatue@gmail.com � austin@halostatue.ca http://www.halostatue.ca/ � http://twitter.com/halostatue