From: Martin DeMello Date: 2005-04-08T21:09:40+09:00 Subject: Re: RMagick question Stephen Birch wrote: > Timothy Hunter(cyclists@nc.rr.com)@2005-04-08 08:44: > > require 'RMagick' > > include Magick > > Newbie Q ... why does RMagick need a require *and* an include > statement, I don't that in other packages? This mixes in the Magick module, so that you don't need to preface its module methods with Magick:: Compare the following: $ irb irb(main):001:0> sin(PI) NameError: uninitialized constant PI from (irb):1 irb(main):002:0> Math::sin(Math::PI) => 1.22464679914735e-16 irb(main):003:0> include Math => Object irb(main):004:0> sin(PI) => 1.22464679914735e-16 martin