search for: say_hello_with_speaker

Displaying 1 result from an estimated 1 matches for "say_hello_with_speaker".

2007 Mar 13
0
aliasing, require_dependency and require
...r is observed if I use the following module included method: #speaker plugin init.rb #require ''application'' require_dependency ''application'' module Speaker def self.included(base) base.alias_method_chain :say_hello, :speaker end protected def say_hello_with_speaker puts "Hello speaker...." end end ApplicationController.send(:include, Speaker) Any help heres is much appreciated... Regards, Saimon -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are...