From: Charles Oliver Nutter Date: 2007-07-14T06:22:26+09:00 Subject: Re: Proposal: runtime-modifying Kernel methods should be keywords James Edward Gray II wrote: > On Jul 13, 2007, at 2:02 PM, Charles Oliver Nutter wrote: > >> TRANS wrote: >>> - What about module_function as keyword? (another one I don't like) >> >> module_function is ok because it only uses a symbol form rather than >> any implicit state. It can be wrapped and have the same behavior. > > You lost me here. module_function works like public/protected/private, > as near as I can tell. Ok, looks like ri is lying then, implying that at least a symbol is always required: ------------------------------------------------- Module#module_function module_function(symbol, ...) => self ------------------------------------------------------------------------ The arity-one version would be safe as a method; the arity-zero version would not. - Charlie