How I can get from a module the Class name of the class the module is included ?
module ActMethods
def some_method(*attr_names)
cls = self.class # this doesn't work
end
end
How I can get into the cls variable the name of the class to with this module is loaded ?