From: Eloy D. <elo...@gm...> - 2010-08-10 09:12:46
|
Hi Stefan, The method would be written as: class MyClass def self.isSelectorExcludedFromWebScript(sel) #... end end HTH, Eloy On Mon, Aug 9, 2010 at 9:56 PM, Stefan Bracke <ste...@gi...> wrote: > Hi all, > i am not sure how to implement a class method > like "isSelectorExcludedFromWebScript". > This method allows me to tell WebKit implementation that a certain function > can be called from the webpage in the Webkit environment. > So, to put it in context: I am using WebKit and I would like a javascript to > execute a RubyCocoa function. > (My source is: http://www.thimbleby.net/script ) > Cheers all, > Stefan > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > |