James Byrne wrote:
> I wish to extend ActionMailer::Base by method chaining a class instance
> variable:

I was ever so close:

class ActionMailer::Base

  class << self

    def self.include(base)

       base.alias_method_chain  :method_name,  :my_method

       def method_name_with_my_method
         ...
         method_name_without_my_method
       end
    end
  end
end
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to