I'm packaging my own gem, which includes a module called Convert3D
, and a class called ShapeSet
.
The following error occurs when I try to call a method of the Convert3D module from within the initialize method of ShapeSet. The Convert3D module has been required and the method works from the irb context from which ShapeSet.new is being called.
NameError: uninitialized constant ShapeSet::Convert3d
Given that there is no reference to "ShapeSet::Convert3d" anywhere ever, what is ruby doing here, and what might I be doing wrong to cause it?
I'm using Matz Ruby 1.9.3 on OSX 10.8.2