On Sat, Feb 23, 2008 at 11:32:32PM -0400, Albert Ng wrote:
> Mr Taylor, I have used your module for digest authorization and was
> wondering if you could answer a couple of questions:
> What does module_function do without calling a :symbol?

<http://www.ruby-doc.org/core/classes/Module.html#M001665>:
"If used with no arguments, subsequently defined methods become module
functions."

> How is the «service» function called when I'm calling «authenticate», which
> only function is to raise if a condition is not met?

Mixin inheritance stuff.
<http://code.whytheluckystiff.net/camping/wiki/BeforeAndAfterOverrides>

Attachment: pgpLRbQCUWWw6.pgp
Description: PGP signature

_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to