From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2008-05-10T01:55:02+09:00 Subject: in `include': wrong argument type Class ??? i did something like : module ManPage MANPATH=[] MANSEC=[] end class Page include ManPage attr_accessor :manpath,:section,:page,:count,:key def initialize(manpath,section,page) ... end using that from another script: require 'man_rep/manpage' #requires the file where are the module ManPage and the class Page include ManPage and the error come in this line (just above) ? why ? what did i misunderstood ? the purpose of the "module" is only to get the two arrays MANPATH and MANSEC common to both the class Page and any script using this class Page. i should mention, the script itself is a cgi script working under mod_ruby (Apache2). -- Une B�vue