From: "Iñaki Baz Castillo" Date: 2008-05-02T06:48:12+09:00 Subject: How to exec a module method when "include Module" from a Class ? Hi, I have a class C that includes a module M. I need that when a C object is created a module M method is runned automatically (without call it from "initialize" method) to fill an object attribute. Something as: --------------------------------------- module M def module_method @words << "module_word" end end class C include C attr_reader :words def initialize @words = [] @words << "class_word" end end --------------------------------------- irb> c=C.new irb> c.words ["class_word", "module_word"] Is it possible without adding "module_method()" in class C initialize method? Thanks a lot. -- Iñaki Baz Castillo