[Rubycocoa-devel 1371] Re: final underscore curiousness

Back to archive index

kimura wataru kimur****@i*****
Tue Sep 2 22:27:13 JST 2008


Hi,

RubyCocoa has a global switch "OSX.relaxed_syntax".

- OSX.relaxed_syntax = true  -> allow omit the last underscore
- OSX.relaxed_syntax = false -> require the last underscore

On Sat, 30 Aug 2008 11:10:57 +0200, Allison Newman wrote:
> Hi everyone,
> 
> I just bumped into an oddity for method names.  I'm obliged to have 
> the final underscore on this method:
> 
> bind_toObject_withKeyPath_options_
> 
> It isn't optional, if you don't have the underscore, the method isn't found.
> 
> Is this a bug, or expected behaviour?
> 
> Alli
> 

-- 
kimura wataru




More information about the Rubycocoa-devel mailing list
Back to archive index