In Ruby 2.0, you can use Module.prepend in place of alias_method_chain to override a method in another class:
Module.prepend
alias_method_chain
class A def say_hello puts "Hello from A" endend