On 2/7/07, Phillip Medrano
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
> class MyClass < ActiveRecord::Base
>
> def self.method_name(var1, var2, var3)
> Messenger::some_other_method_name(var1, var2, var3)
> end
>
>
> what is the Messenger::.... line doing? Is Messenger some child
> class of MyClass
>
Messenger would be referencing a class. some_other_method_name would be a
class method.
--
Andrew Stone
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---