delegate vs. forwardable

  • Thread starter James Edward Gray II
  • Start date
J

James Edward Gray II

I'm now working on some documentation for delegate.rb and
forwardable.rb and I have a few questions...

As I understand it, the primary difference between these modules, is
that forwardable works on a method by method basis, while delegate
forwards everything. Is this accurate? Are there other major
differences I should be aware of at work here?

Thanks.

James Edward Gray II

P.S. Is delegate older, as I suspect it is?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top