>>>>> "S" == Saumya Garg <skg1 / cec.wustl.edu> writes: S> Using those modifications I got the following error: S> processImg.rb:7:in `OpenFile': wrong argument type Module (expected S> Class) (TypeError) S> from /home/usr/JohnDoe/processImg.rb:7 S> VALUE data = Data_Make_Struct(data,float,0,free, buffer); This line is wrong. The first argument must be a class. Guy Decoux