As a side effect of the last improvement, the attr_reader now
works too.

gegroet,
Erik V. - http://www.erikveen.dds.nl/

----------------------------------------------------------------

 require "lazyload"

 class Thing
   attr_reader :prop1
   attr_reader :prop2
   attr_writer :prop2

   def initialize
     @prop1 = LazyLoad.new{:it_works}
     @prop2 = LazyLoad.new{:nothing}
   end
 end

 thing = Thing.new

 thing.prop2 = :this_too

 p thing.prop1
 p thing.prop2

----------------------------------------------------------------